msgpack-rust icon indicating copy to clipboard operation
msgpack-rust copied to clipboard

rmp_serde: TypeMismatch is not very informative

Open jneem opened this issue 7 years ago • 0 comments

If I try to deserialize and get a TypeMismatch error, it tells me the actual type of the data, but it doesn't tell me the type that was expected. It would be easier to track down this kind of error if both were reported. (It would be even better if rmp_serde could report the location in the data where the error took place, but I'm not sure how feasible that would be.)

jneem avatar Feb 26 '18 16:02 jneem