mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
14 lines
248 B
Rust
14 lines
248 B
Rust
use steel::*;
|
|
|
|
#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
|
|
#[repr(u32)]
|
|
pub enum OreError {
|
|
#[error("Amount too small")]
|
|
AmountTooSmall = 0,
|
|
|
|
#[error("Not authorized")]
|
|
NotAuthorized = 1,
|
|
}
|
|
|
|
error!(OreError);
|