Crate clone_spl_program_error_derive

Source
Expand description

Crate defining a procedural macro for building Solana program errors

Attribute Macros§

clone_spl_program_error
Proc macro attribute to turn your enum into a Solana Program Error

Derive Macros§

DecodeError
Derive macro to add clone_solana_program::decode_error::DecodeError trait
IntoProgramError
Derive macro to add Into<clone_solana_program::program_error::ProgramError> trait
PrintProgramError
Derive macro to add clone_solana_program::program_error::PrintProgramError trait