Skip to content

Commit

Permalink
Remove unused error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Oct 25, 2021
1 parent 8849c0c commit 86a742f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ pub enum Error {
UnsupportedProofPurpose,
UnsupportedCheck,
UnsupportedBlankPredicate,
TooManyBlankNodes,
JWTCredentialInPresentation,
UnencodableOptionClaim(String),
ExpectedUnencodedHeader,
Expand Down Expand Up @@ -296,7 +295,6 @@ impl fmt::Display for Error {
Error::MissingCredentialSchema => write!(f, "Missing credential schema for ZKP"),
Error::UnsupportedProperty => write!(f, "Unsupported property for LDP"),
Error::UnsupportedKeyType => write!(f, "Unsupported key type"),
Error::TooManyBlankNodes => write!(f, "Multiple blank nodes not supported. Either credential or credential subject must have id property. Presentation must have id property."),
Error::UnsupportedType => write!(f, "Unsupported type for LDP"),
Error::UnsupportedProofPurpose => write!(f, "Unsupported proof purpose"),
Error::UnsupportedCheck => write!(f, "Unsupported check"),
Expand Down

0 comments on commit 86a742f

Please # to comment.