//! This code was AUTOGENERATED using the kinobi library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//!//! <https://github.com/kinobi-so/kinobi>
//!usenum_derive::FromPrimitive;usethiserror::Error;#[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)]pubenumTensorEscrowError{/// 6016 - bad owner
#[error("bad owner")]
BadOwner =0x1780,/// 6027 - bad margin account passed
#[error("bad margin account passed")]
BadMargin =0x178B,/// 6032 - margin account has pools open and is in use
#[error("margin account has pools open and is in use")]
MarginInUse =0x1790,}implsolana_program::program_error::PrintProgramError forTensorEscrowError{fnprint<E>(&self){solana_program::msg!(&self.to_string());}}