/// Errors from margin/balance math operations.
#[derive(Debug, thiserror::Error)]pubenumMathError{#[error("arithmetic overflow in margin calculation")]
Overflow,#[error("liquidation threshold is 0")]
NotBorrowCollateral,}pubtypeMathResult<T>=Result<T, MathError>;