pub enum KERIError {
Show 47 variants
ValueError(String),
Incompatible(Versionage),
BadRematch(),
VersionError(String),
Shortage(String),
KindError(String),
ProtocolError(String),
FieldError(String),
DeserializeError(String),
SerderVersionError(String),
ValidationError(String),
JsonError(String),
MgpkError(String),
CborError(String),
InvalidKind(String),
MissingRequiredField(String, String),
UnknownIlk(String),
MatterError(String),
Io(Error),
DBError(DBError),
Parsing(String),
DatabaseError(String),
ManagerError(String),
AuthError(String),
DecryptError(String),
UnsupportedMessage,
InvalidCesrData,
SuberError(SuberError),
KomerError(KomerError),
SerializationError(String),
DeserializationError(String),
OutOfOrderError(String),
LikelyDuplicitousError(String),
UnverifiedWitnessReceiptError(String),
UnverifiedReceiptError(String),
QueryNotFoundError(String),
ConfigurationError(String),
MissingEntryError(String),
MissingSignatureError(String),
MissingWitnessError(String),
MissingWitnessSignatureError(String),
MisfitEventSourceError(String),
MissingDelegableApprovalError(String),
MissingDelegationError(String),
CounterError(String),
IndexError(String),
ClosedError(String),
}Expand description
Errors related to version validation
Variants§
ValueError(String)
Incompatible(Versionage)
BadRematch()
VersionError(String)
Shortage(String)
KindError(String)
ProtocolError(String)
FieldError(String)
DeserializeError(String)
SerderVersionError(String)
ValidationError(String)
JsonError(String)
MgpkError(String)
CborError(String)
InvalidKind(String)
MissingRequiredField(String, String)
UnknownIlk(String)
MatterError(String)
Io(Error)
DBError(DBError)
Parsing(String)
DatabaseError(String)
ManagerError(String)
AuthError(String)
DecryptError(String)
UnsupportedMessage
InvalidCesrData
SuberError(SuberError)
KomerError(KomerError)
SerializationError(String)
DeserializationError(String)
OutOfOrderError(String)
LikelyDuplicitousError(String)
UnverifiedWitnessReceiptError(String)
UnverifiedReceiptError(String)
QueryNotFoundError(String)
ConfigurationError(String)
MissingEntryError(String)
MissingSignatureError(String)
MissingWitnessError(String)
MissingWitnessSignatureError(String)
MisfitEventSourceError(String)
A remote event for a locally owned, witnessed or delegated identifier,
kept in the misfit escrow (keripy MisfitEventSourceError).
MissingDelegableApprovalError(String)
A delegated event waiting for its local delegator’s approval, kept in
the delegable escrow (keripy MissingDelegableApprovalError).
MissingDelegationError(String)
A delegated event whose delegating seal is not available yet
(keripy MissingDelegationError).
CounterError(String)
IndexError(String)
ClosedError(String)
Trait Implementations§
Source§impl Error for KERIError
impl Error for KERIError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<KomerError> for KERIError
impl From<KomerError> for KERIError
Source§fn from(source: KomerError) -> Self
fn from(source: KomerError) -> Self
Converts to this type from the input type.
Source§impl From<SuberError> for KERIError
impl From<SuberError> for KERIError
Source§fn from(source: SuberError) -> Self
fn from(source: SuberError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KERIError
impl !UnwindSafe for KERIError
impl Freeze for KERIError
impl Send for KERIError
impl Sync for KERIError
impl Unpin for KERIError
impl UnsafeUnpin for KERIError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more