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),
}