Error lib
Error Handling :
Last updated
Error Handling :
Last updated
NOT_OWNER
: Thrown when the caller is not the owner.
MAX_LLTV_EXCEEDED
: Thrown when the Liquidation Loan-To-Value (LLTV) to enable exceeds the maximum LLTV.
MAX_FEE_EXCEEDED
: Thrown when the fee to set exceeds the maximum fee.
ALREADY_SET
: Thrown when the value is already set.
IRM_NOT_ENABLED
: Thrown when the Interest Rate Model (IRM) is not enabled at market creation.
LLTV_NOT_ENABLED
: Thrown when the LLTV is not enabled at market creation.
MARKET_ALREADY_CREATED
: Thrown when the market is already created.
MARKET_NOT_CREATED
: Thrown when the market is not created.
INCONSISTENT_INPUT
: Thrown when not exactly one of the input amount is zero.
ZERO_ASSETS
: Thrown when zero assets are passed as input.
ZERO_ADDRESS
: Thrown when a zero address is passed as input.
UNAUTHORIZED
: Thrown when the caller is not authorized to conduct an action.
INSUFFICIENT_COLLATERAL
: Thrown when the collateral is insufficient for certain actions.
INSUFFICIENT_LIQUIDITY
: Thrown when the liquidity is insufficient for certain actions.
HEALTHY_POSITION
: Thrown when the position to liquidate is healthy.
INVALID_SIGNATURE
: Thrown when the authorization signature is invalid.
SIGNATURE_EXPIRED
: Thrown when the authorization signature is expired.
INVALID_NONCE
: Thrown when the nonce is invalid.
TRANSFER_REVERTED
: Thrown when a token transfer reverted.
TRANSFER_RETURNED_FALSE
: Thrown when a token transfer returned false.
TRANSFER_FROM_REVERTED
: Thrown when a token transferFrom reverted.
TRANSFER_FROM_RETURNED_FALSE
: Thrown when a token transferFrom returned false.
MAX_UINT128_EXCEEDED
: Thrown when the maximum uint128 is exceeded.