iotaledger / iotaledger/identity
WASM: implement a proper TS `CredentialValidationError`
Open
Added
Wasm
- Dominant language
- Rust
- Stars
- 346
- Forks
- 100
- Avg merge
- 13h 41m
- Merged PRs (30d)
- 2
Description
## 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.
Contributor guide
Assessment
This issue has not been assessed yet.