Trait mango_v4::error::IsAnchorErrorWithCode
source · pub trait IsAnchorErrorWithCode {
// Required methods
fn is_anchor_error_with_code(&self, code: u32) -> bool;
fn is_oracle_error(&self) -> bool;
}
pub trait IsAnchorErrorWithCode {
// Required methods
fn is_anchor_error_with_code(&self, code: u32) -> bool;
fn is_oracle_error(&self) -> bool;
}