Struct anchor_lang::error::AnchorError
source · [−]pub struct AnchorError {
pub error_name: String,
pub error_code_number: u32,
pub error_msg: String,
pub source: Option<Source>,
pub account_name: Option<String>,
}Fields
error_name: Stringerror_code_number: u32error_msg: Stringsource: Option<Source>account_name: Option<String>Implementations
sourceimpl AnchorError
impl AnchorError
Trait Implementations
sourceimpl Debug for AnchorError
impl Debug for AnchorError
sourceimpl Display for AnchorError
impl Display for AnchorError
sourceimpl From<AnchorError> for Error
impl From<AnchorError> for Error
sourcefn from(ae: AnchorError) -> Self
fn from(ae: AnchorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AnchorError
impl Send for AnchorError
impl Sync for AnchorError
impl Unpin for AnchorError
impl UnwindSafe for AnchorError
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more