💬 Separate error message from CLOSED_WITH_ERROR state

It now has a dedicated place on the state panel. Also gets exposed
separately on the API. API docs clarify value range of state field on
job API.

Closes #3828
This commit is contained in:
Gina Häußge committed 2020-11-24 18:17:57 +01:00
1 parent d6a3f46892
commit 201d54e06a
7 files changed
+78 -24

No files matched your search

+7 -2
View File
@@ -249,5 +249,10 @@ Job information response
* - ``state``
- 1
- String
- A textual representation of the current state of the job, i.e. "Operational", "Printing", "Pausing", "Paused",
"Cancelling", "Error" or "Offline".
- A textual representation of the current state of the job or connection, e.g. "Operational", "Printing", "Pausing", "Paused",
"Cancelling", "Error", "Offline", "Offline after error", "Opening serial connection", ... -- please note
that this list is not exhaustive!
* - ``error``
- 0..1
- String
- Any error message for the job or connection, only set if there has been an error.