1use anchor_lang::prelude::*; 2 3 4#[error_code] 5 6pub enum AgentError { 7 #[msg("name not valid")] 8 InvalidName 9}