Description
Create a TS CredentialValidationError that allows for better error handling of common issues like revocation, suspension, expiration.
Motivation
Currently, when validation of a VC fails, the returned error contains all information within its message, making it hard to handle - e.g. revoked or expired credentials.
Description
Create a TS
CredentialValidationErrorthat allows for better error handling of common issues like revocation, suspension, expiration.Motivation
Currently, when validation of a VC fails, the returned error contains all information within its message, making it hard to handle - e.g. revoked or expired credentials.