use spl_program_error::*;
#[spl_program_error(hash_error_code_start = 901_952_957)]
pub enum TokenMetadataError {
#[error("Incorrect account provided")]
IncorrectAccount,
#[error("Mint has no mint authority")]
MintHasNoMintAuthority,
#[error("Incorrect mint authority has signed the instruction")]
IncorrectMintAuthority,
#[error("Incorrect metadata update authority has signed the instruction")]
IncorrectUpdateAuthority,
#[error("Token metadata has no update authority")]
ImmutableMetadata,
#[error("Key not found in metadata account")]
KeyNotFound,
}