metaboss_lib 0.24.0

The core library for the metaboss cli.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use solana_client::client_error::ClientErrorKind;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SnapshotError {
    #[error("no account data found")]
    MissingAccount(String),

    #[error("failed to get account data")]
    ClientError(Box<ClientErrorKind>),

    #[error("failed to parse string into Pubkey")]
    PubkeyParseFailed(String),
}