Enum keri_controller::error::ControllerError
source · pub enum ControllerError {
Show 22 variants
DatabaseError(DbError),
TransportError(TransportError),
CommunicationError(String),
InceptionError(String),
EventGenerationError(String),
EventParseError,
EventFormatError,
ParseError(ParseError),
WrongWitnessPrefixError,
MissingEventError,
WrongEventTypeError,
UnknownIdentifierError,
NotGroupParticipantError,
EventProcessingError(Error),
VersionError(VersionError),
NoLocationScheme {
id: IdentifierPrefix,
scheme: Scheme,
},
QueryArgumentError(String),
CesrFormatError,
FaultySignature,
VerificationError(Vec<(ControllerError, String)>),
TelError(Error),
OtherError(String),
}Variants§
DatabaseError(DbError)
TransportError(TransportError)
CommunicationError(String)
InceptionError(String)
EventGenerationError(String)
EventParseError
EventFormatError
ParseError(ParseError)
WrongWitnessPrefixError
MissingEventError
WrongEventTypeError
UnknownIdentifierError
NotGroupParticipantError
EventProcessingError(Error)
VersionError(VersionError)
NoLocationScheme
QueryArgumentError(String)
CesrFormatError
FaultySignature
VerificationError(Vec<(ControllerError, String)>)
TelError(Error)
OtherError(String)
Trait Implementations§
source§impl Debug for ControllerError
impl Debug for ControllerError
source§impl Display for ControllerError
impl Display for ControllerError
source§impl Error for ControllerError
impl Error for ControllerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DbError> for ControllerError
impl From<DbError> for ControllerError
source§impl From<Error> for ControllerError
impl From<Error> for ControllerError
source§impl From<Error> for ControllerError
impl From<Error> for ControllerError
source§impl From<ParseError> for ControllerError
impl From<ParseError> for ControllerError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<TransportError> for ControllerError
impl From<TransportError> for ControllerError
source§fn from(source: TransportError) -> Self
fn from(source: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ControllerError
impl Send for ControllerError
impl Sync for ControllerError
impl Unpin for ControllerError
impl UnwindSafe for ControllerError
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