1
2
3
4
5
6
7
8
9
use thiserror::Error;

#[derive(Error, Debug)]
pub enum VerifyError {
    #[error("Failed to get candy machine account data from Solana for address: {0}.")]
    FailedToGetAccountData(String),
    #[error("{0} mismatch (expected='{1}', found='{2}')")]
    Mismatch(String, String, String),
}