spl_token_metadata_interface/
error.rs1use spl_program_error::*;
4
5#[spl_program_error(hash_error_code_start = 901_952_957)]
7pub enum TokenMetadataError {
8 #[error("Incorrect account provided")]
10 IncorrectAccount,
11 #[error("Mint has no mint authority")]
13 MintHasNoMintAuthority,
14 #[error("Incorrect mint authority has signed the instruction")]
16 IncorrectMintAuthority,
17 #[error("Incorrect metadata update authority has signed the instruction")]
19 IncorrectUpdateAuthority,
20 #[error("Token metadata has no update authority")]
22 ImmutableMetadata,
23 #[error("Key not found in metadata account")]
25 KeyNotFound,
26}