Error Codes
Code | Name | Description |
0 |
| Not a failure. |
1 |
| The sender is not authorized to perform this action. |
2 |
| Liquidation cannot be performed in markets with different comptrollers. |
3 |
| The account does not have sufficient shortfall to perform this action. |
4 |
| The account does not have sufficient liquidity to perform this action. |
5 |
| The close factor is not valid. |
6 |
| The collateral factor is not valid. |
7 |
| The liquidation incentive is invalid. |
8 |
| The market has not been entered by the account. |
9 |
| The market is not currently listed by the comptroller. |
10 |
| An admin tried to list the same market more than once. |
11 |
| A math calculation error occurred. |
12 |
| The action cannot be performed since the account carries a borrow balance. |
13 |
| The comptroller could not obtain a required price of an asset. |
14 |
| The comptroller rejects the action requested by the market. |
15 |
| The comptroller could not get the account borrows and exchange rate from the market. |
16 |
| Attempted to enter more markets than are currently supported. |
17 |
| Attempted to repay more than is allowed by the protocol. |
Last updated