mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-17 15:10:21 +00:00
delegate
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
use steel::*;
|
||||
|
||||
#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
|
||||
#[repr(u32)]
|
||||
pub enum OreError {
|
||||
#[error("Placeholder error")]
|
||||
Dummy = 0,
|
||||
|
||||
#[error("Insufficient vault reserves")]
|
||||
InsufficientVaultReserves = 1,
|
||||
|
||||
#[error("Invariant violation")]
|
||||
InvariantViolation = 2,
|
||||
|
||||
#[error("Insufficient liquidity")]
|
||||
InsufficientLiquidity = 3,
|
||||
}
|
||||
|
||||
error!(OreError);
|
||||
Reference in New Issue
Block a user