spl_program_error/lib.rs
1//! Crate defining a library with a procedural macro and other
2//! dependencies for building Solana program errors
3
4#![deny(missing_docs)]
5#![cfg_attr(not(test), forbid(unsafe_code))]
6
7extern crate self as spl_program_error;
8
9// Make these available downstream for the macro to work without
10// additional imports
11pub use {
12 num_derive, num_traits, solana_program_error,
13 spl_program_error_derive::{spl_program_error, IntoProgramError, ToStr},
14 thiserror,
15};