jamesmunns / postcard

A no_std + serde compatible message library for Rust
Apache License 2.0
945 stars 92 forks source link

Display Custom Error Messages #80

Open zicklag opened 2 years ago

zicklag commented 2 years ago

Hey there! Would you be open to displaying custom error messages when serializing and deserializing with postman?

I know you target resource constrained environments, so maybe it would only display the custom message if the use-std feature was enabled or something like that.

I'm trying to use postman for serializing network traffic for a video game and while writing custom serialization implementations, not being able to see my error messages makes things a little difficult at times.