1use near_sdk::account_id::ParseAccountError; 2 3#[derive(thiserror::Error, Debug)] 4pub enum TokenIdError { 5 #[error("AccountId: {0}")] 6 AccountId(#[from] ParseAccountError), 7 #[error(transparent)] 8 ParseError(#[from] strum::ParseError), 9}