iotaledger / iotaledger/identity

WASM: implement a proper TS `CredentialValidationError`

Open
#1,842 0 comments 0 reactions 1 assignee Claimed by @UMR1352 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.