This PR implements std::error::Error for all error types matching the Regex pub \w+ \w+Err: ReadParsedError, DecodeErr, ParseError, TlfParseError, ReadDecodedError. Therefore, core::fmt::Display is also implemented for all these types.
I somehow messed up my notification settings and didn't see your PR until now. Sry for that and thanks for taking the time to contribute! Changes look good to me 👍
This PR implements
std::error::Error
for all error types matching the Regexpub \w+ \w+Err
:ReadParsedError
,DecodeErr
,ParseError
,TlfParseError
,ReadDecodedError
. Therefore,core::fmt::Display
is also implemented for all these types.Closes https://github.com/felixwrt/sml-rs/issues/19