Crate spl_program_error

Source
Expand description

Crate defining a library with a procedural macro and other dependencies for building Miraland program errors

Re-exports§

pub use miraland_program;
pub use num_derive;
pub use num_traits;
pub use thiserror;

Attribute Macros§

spl_program_error
Proc macro attribute to turn your enum into a Miraland Program Error

Derive Macros§

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