pub enum KrError {
InceptionError,
DeserializeError(String),
SemanticError(String),
SolRpc(KsSignerError),
IncorrectDigest,
EventOutOfOrderError,
EventDuplicateError,
CoreErr(ParseIntError),
Base64DecodingError {
source: DecodeError,
},
SerdeJsonErr(Error),
SerdeCborErr(Error),
SerdeRmpErr(Error),
}Expand description
Error values
Variants§
InceptionError
DeserializeError(String)
SemanticError(String)
SolRpc(KsSignerError)
IncorrectDigest
EventOutOfOrderError
EventDuplicateError
CoreErr(ParseIntError)
Base64DecodingError
Fields
§
source: DecodeErrorSerdeJsonErr(Error)
SerdeCborErr(Error)
SerdeRmpErr(Error)
Trait Implementations§
Source§impl Error for KrError
impl Error for KrError
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<DecodeError> for KrError
impl From<DecodeError> for KrError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<KsSignerError> for KrError
impl From<KsSignerError> for KrError
Source§fn from(source: KsSignerError) -> Self
fn from(source: KsSignerError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for KrError
impl From<ParseIntError> for KrError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KrError
impl !UnwindSafe for KrError
impl Freeze for KrError
impl Send for KrError
impl Sync for KrError
impl Unpin for KrError
impl UnsafeUnpin for KrError
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