mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 15:10:13 +00:00
market
This commit is contained in:
@@ -5,6 +5,15 @@ use steel::*;
|
||||
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