Closed quininer closed 1 year ago
It might be quicker for you to do it yourself. But if it would help you, I could provide a PR if you give a detailed version of what the new errors should look like. I'm interested in this, as I currently have a 1:1 mapping in my code to your errors and such a simplification would be welcome.
@vmx I haven't figured out what it should look like yet, feel free to open a PR if you have a good idea. :D
Error seems a bit confusing now, especially
DecodeError
.core::Error
andserde::Error
so that you don't care aboutMsg
kind when usingcore
mod.Eof
/RequireLength
,Mismatch
/TypeMismatch
, etc.Since this affects the api, it will be in the next version.