Enum anchor_client::ClientError
source · pub enum ClientError {
AccountNotFound,
AnchorError(Error),
ProgramError(ProgramError),
SolanaClientError(SolanaClientError),
SolanaClientPubsubError(PubsubClientError),
LogParseError(String),
}Variants§
AccountNotFound
AnchorError(Error)
ProgramError(ProgramError)
SolanaClientError(SolanaClientError)
SolanaClientPubsubError(PubsubClientError)
LogParseError(String)
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + '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()