---
description: 'Error Handling :'
---

# Error lib&#x20;

1. `NOT_OWNER`: Thrown when the caller is not the owner.
2. `MAX_LLTV_EXCEEDED`: Thrown when the Liquidation Loan-To-Value (LLTV) to enable exceeds the maximum LLTV.
3. `MAX_FEE_EXCEEDED`: Thrown when the fee to set exceeds the maximum fee.
4. `ALREADY_SET`: Thrown when the value is already set.
5. `IRM_NOT_ENABLED`: Thrown when the Interest Rate Model (IRM) is not enabled at market creation.
6. `LLTV_NOT_ENABLED`: Thrown when the LLTV is not enabled at market creation.
7. `MARKET_ALREADY_CREATED`: Thrown when the market is already created.
8. `MARKET_NOT_CREATED`: Thrown when the market is not created.
9. `INCONSISTENT_INPUT`: Thrown when not exactly one of the input amount is zero.
10. `ZERO_ASSETS`: Thrown when zero assets are passed as input.
11. `ZERO_ADDRESS`: Thrown when a zero address is passed as input.
12. `UNAUTHORIZED`: Thrown when the caller is not authorized to conduct an action.
13. `INSUFFICIENT_COLLATERAL`: Thrown when the collateral is insufficient for certain actions.
14. `INSUFFICIENT_LIQUIDITY`: Thrown when the liquidity is insufficient for certain actions.
15. `HEALTHY_POSITION`: Thrown when the position to liquidate is healthy.
16. `INVALID_SIGNATURE`: Thrown when the authorization signature is invalid.
17. `SIGNATURE_EXPIRED`: Thrown when the authorization signature is expired.
18. `INVALID_NONCE`: Thrown when the nonce is invalid.
19. `TRANSFER_REVERTED`: Thrown when a token transfer reverted.
20. `TRANSFER_RETURNED_FALSE`: Thrown when a token transfer returned false.
21. `TRANSFER_FROM_REVERTED`: Thrown when a token transferFrom reverted.
22. `TRANSFER_FROM_RETURNED_FALSE`: Thrown when a token transferFrom returned false.
23. `MAX_UINT128_EXCEEDED`: Thrown when the maximum uint128 is exceeded.
