Skip to content

Commit

Permalink
Update JSON-LD errors in error enum
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
  • Loading branch information
theosirian committed Apr 24, 2023
1 parent 6aa6719 commit 64284c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ pub enum Error {
#[error(transparent)]
Base64(#[from] base64::DecodeError),
#[error(transparent)]
JSONLD(#[from] ssi::jsonld::Error),
JSONLDContextError(#[from] ssi::jsonld::ContextError),
#[error(transparent)]
JSONLDContextMapError(#[from] ssi::jsonld::FromContextMapError),
#[error("Unable to generate DID")]
UnableToGenerateDID,
#[error("Unknown DID method")]
Expand Down

0 comments on commit 64284c2

Please sign in to comment.