Task statuses and error codes
Task statuses
Status | Description |
---|---|
| Initial internal status |
| Task running |
| Task completed, all elements provided. A query without |
| A stopped task. It can be restarted by user. A task can be stopped by user or due to an error |
| Internal state on a loss connection with server. It will be started when reconnected or stopped if cannot recover connection |
| A internal status on stopped servers. It will be auto started after the server starts again |
Task error codes
ID | Code | Message |
---|---|---|
|
| OK |
|
| Task not found |
|
| Cannot change the status of task |
|
| Cannot remove task on database |
|
| Cannot stop a non running task |
|
| Cannot stop task on database |
|
| Cannot restart task on database |
|
| Remote msg response not found |
|
| Remote msg response problem |
|
| Remote msg call problem |