#[cfg(feature = "wasm")]
use equanetwork_macros::wasm_expose;
pub type CoreError = &'static str;
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const ARITHMETIC_OVERFLOW: CoreError = "Arithmetic over- or underflow";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const AMOUNT_EXCEEDS_MAX_U64: CoreError = "Amount exceeds max u64";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const AMOUNT_EXCEEDS_MAX_U128: CoreError = "Amount exceeds max u128";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const AMOUNT_EXCEEDS_MAX_I32: CoreError = "Amount exceeds max i32";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const AMOUNT_EXCEEDS_MAX_I8: CoreError = "Amount exceeds max i8";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const INVALID_SWAP_FEE_PER_M: CoreError = "Invalid swap fee per million";
#[cfg_attr(feature = "wasm", wasm_expose)]
pub const PARTIAL_FILL_NOT_ALLOWED: CoreError = "Partial fill not allowed";