Useful for building error messages for your own little decoders. Since this function is used internally, the message layout will be the same, which makes it easier for humans to parse error messages. Especially when decoding complex values.
Describe what kind of value you expected
Whatever value you got instead
A nicely formatted error string
Generated using TypeDoc
Useful for building error messages for your own little decoders. Since this function is used internally, the message layout will be the same, which makes it easier for humans to parse error messages. Especially when decoding complex values.