1use steel::*;
2
3#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
4#[repr(u32)]
5pub enum OreError {
6 #[error("Amount too small")]
7 AmountTooSmall = 0,
8
9 #[error("Not authorized")]
10 NotAuthorized = 1,
11}
12
13error!(OreError);