1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Crate defining a library with a procedural macro and other
//! dependencies for building Solana program errors

#![deny(missing_docs)]
#![cfg_attr(not(test), forbid(unsafe_code))]

extern crate self as spl_program_error;

// Make these available downstream for the macro to work without
// additional imports
pub use num_derive;
pub use num_traits;
pub use solana_program;
pub use spl_program_error_derive::{
    spl_program_error, DecodeError, IntoProgramError, PrintProgramError,
};
pub use thiserror;