Error Reference
Error Code
Rails ErrorCode represents an error with a slug and a code.
Error Code | Route | Error Slug | Server Status Code |
---|---|---|---|
0001 | all | UNAUTHORIZED | 401 |
0002 | all | SERVER_ERROR | 500 |
0003 | all | TOO_MANY_REQUEST | 429 |
0004 | all | SERVICE_UNAVAILABLE | 503 |
0005 | all | RETRYABLE_ERROR | 500 |
0006 | all | BAD_REQUEST | 400 |
0007 | all | NOT_FOUND | 404 |
1000 | createOrder | CREATE_ORDER_ERROR | 400 |
1001 | createOrder | CREATE_ORDER_INSUFFICIENT_BALANCE | 400 |
1002 | createOrder | CREATE_ORDER_INVALID_TRADE | 400 |
2000 | cancelOrder | CANCEL_ORDER_ERROR | 400 |
3004 | default | PARTIAL_FILL_ORDER_ERROR | 500 |
3005 | default | COMPLETE_FILL_ORDER_ERROR | 500 |