Error Reporting
The protocol's lToken error reporting.
Error Codes
Code | Name | Description |
---|---|---|
0 |
| Not a failure. |
1 |
| The sender is not authorized to perform this action. |
2 |
| An invalid argument was supplied by the caller. |
3 |
| The action would violate the comptroller policy. |
4 |
| An internal calculation has failed in the comptroller. |
5 |
| The interest rate model returned an invalid value. |
6 |
| The specified combination of accounts is invalid. |
7 |
| The amount to liquidate is invalid. |
8 |
| The collateral factor is invalid. |
9 |
| A math calculation error occurred. |
10 |
| Interest has not been properly accrued. |
11 |
| The market is not currently listed by its comptroller. |
12 |
| ERC-20 contract must allow Money Market contract to call |
13 |
| Caller does not have sufficient balance in the ERC-20 contract to complete the desired action. |
14 |
| The market does not have a sufficient cash balance to complete the transaction. You may attempt this transaction again later. |
15 |
| Failure in ERC-20 when transfering token into the market. |
16 |
| Failure in ERC-20 when transfering token out of the market. |
Failure Info
Code | Name |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
Last updated