Use thiserror macro to derive Error + Display traits #18

Merged
rib merged 1 commits from wip/rib/thiserror into master 2021-01-08 09:16:44 -08:00

1 Commits

Author SHA1 Message Date
Robert Bragg
559db125d3 Use thiserror macro to derive Error + Display traits
This removes the manual implementation of Display + Error for
ASN1EncodeErr and uses the derive macro from `thiserror` to add
std Error and Display implementations for ANS1EncodeErr and
ASN1DecodeErr.
2021-01-08 13:53:53 +00:00