Use thiserror macro to derive Error + Display traits #18
Reference in New Issue
Block a user
Delete Branch "wip/rib/thiserror"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following up on https://github.com/acw/simple_asn1/issues/17...
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.
The unit tests seem to run with the change and I can confirm it
also unblocks me bumping my dependency on simple_asn1
in https://github.com/rib/jsonwebtokens as the api is again
compatible with the 0.4 api.