pub enum SwitchboardCommonError {
CustomMessage(String),
CustomError {
message: String,
source: Box<dyn StdError + 'static>,
},
SgxError,
SgxWriteError,
TxFailure,
NetworkErr,
InvalidQuoteError,
TxCompileErr,
EnvVariableMissing(String),
}
Variants§
CustomMessage(String)
CustomError
SgxError
SgxWriteError
TxFailure
NetworkErr
InvalidQuoteError
TxCompileErr
EnvVariableMissing(String)
Trait Implementations§
source§impl Debug for SwitchboardCommonError
impl Debug for SwitchboardCommonError
source§impl Display for SwitchboardCommonError
impl Display for SwitchboardCommonError
source§impl Error for SwitchboardCommonError
impl Error for SwitchboardCommonError
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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()
Auto Trait Implementations§
impl !RefUnwindSafe for SwitchboardCommonError
impl !Send for SwitchboardCommonError
impl !Sync for SwitchboardCommonError
impl Unpin for SwitchboardCommonError
impl !UnwindSafe for SwitchboardCommonError
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