solana_program/address_lookup_table/
error.rsuse thiserror::Error;
#[derive(Debug, Error, PartialEq, Eq, Clone)]
pub enum AddressLookupError {
#[error("Attempted to lookup addresses from a table that does not exist")]
LookupTableAccountNotFound,
#[error("Attempted to lookup addresses from an account owned by the wrong program")]
InvalidAccountOwner,
#[error("Attempted to lookup addresses from an invalid account")]
InvalidAccountData,
#[error("Address lookup contains an invalid index")]
InvalidLookupIndex,
}