pub enum SolifyError {
Show 16 variants
IdlNotFound(String),
IdlParseFailed(String),
InvalidInstructionOrder(String),
CircularDependency,
AccountNotFound(String),
InstructionNotFound(String),
IoError(Error),
SerializationError(String),
RpcError(String),
TransactionError(String),
TemplateError(String),
Unknown(String),
DependencyAnalysisFailed(String),
InvalidSetupRequirement,
InvalidPdaInitialization,
InvalidTestCase,
}Variants§
IdlNotFound(String)
IdlParseFailed(String)
InvalidInstructionOrder(String)
CircularDependency
AccountNotFound(String)
InstructionNotFound(String)
IoError(Error)
SerializationError(String)
RpcError(String)
TransactionError(String)
TemplateError(String)
Unknown(String)
DependencyAnalysisFailed(String)
InvalidSetupRequirement
InvalidPdaInitialization
InvalidTestCase
Trait Implementations§
Source§impl Debug for SolifyError
impl Debug for SolifyError
Source§impl Display for SolifyError
impl Display for SolifyError
Source§impl Error for SolifyError
impl Error for SolifyError
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()
Auto Trait Implementations§
impl Freeze for SolifyError
impl !RefUnwindSafe for SolifyError
impl Send for SolifyError
impl Sync for SolifyError
impl Unpin for SolifyError
impl !UnwindSafe for SolifyError
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