Type Definitions ================ Task Status Types ----------------- ============ ========= ============================================== **Enum** **Value** **Description** ============ ========= ============================================== UNKNOW_STATE 0 Unknown state PENDING 1 Task is still in the queue RUNNING 2 Task is running NOTASK 3 Corresponding task information cannot be found FAILED 4 Task calculation failed SUCCESSED 5 Task calculation completed RETRY 6 Task resent COMPILING 7 Task is compiling COMPILED 8 Task compilation completed ============ ========= ============================================== Error Code Types ---------------- +------------------+-----------+----------------------------------------------------------------------------------+ | **Enum** | **Value** | **Description** | +==================+===========+==================================================================================+ | NO_ERROR | 0 | No error | +------------------+-----------+----------------------------------------------------------------------------------+ | UNDEFINED_ERROR | 1 | Unknown error | +------------------+-----------+----------------------------------------------------------------------------------+ | TASK_PARAM_ERROR | 2 | Calculation task parameter error | +------------------+-----------+----------------------------------------------------------------------------------+ | JSON_ERROR | 3 | JSON error | +------------------+-----------+----------------------------------------------------------------------------------+ | QUEUE_FULL | 4 | Task queue is full (this error is returned when Sinan sends more than 200 tasks) | +------------------+-----------+----------------------------------------------------------------------------------+