ore_mint_api/
error.rs

1use steel::*;
2
3#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
4#[repr(u32)]
5pub enum OreMintError {
6    #[error("Amount too large")]
7    AmountTooLarge = 0,
8
9    #[error("Mint too frequently")]
10    MintTooFrequently = 1,
11}
12
13error!(OreMintError);