From c7b456d14dc8e89ddc1b7f7dab8142e0f41d77fb Mon Sep 17 00:00:00 2001 From: Martin Polanka Date: Tue, 6 Sep 2016 22:13:27 +0200 Subject: [PATCH] internal_error --- Communication.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Communication.md b/Communication.md index 20be467..f3dbb25 100644 --- a/Communication.md +++ b/Communication.md @@ -35,8 +35,11 @@ Commands from _execution thread_ to _listening thread_: - **done** - notifying of finished job. Requires 2 message frames: - `job_id` - identifier of finished job - - `result` - response result, one of "OK" and "FAILED" - - `message` - non-empty error description if result was "FAILED" + - `result` - response result, possible values below + - OK - everything ok + - FAILED - execution failed and cannot be reassigned to another worker (due to error in configuration for example) + - INTERNAL_ERROR - execution failed due to internal worker error, but other worker possibly can execute this without error + - `message` - non-empty error description if result was not "OK" ### Progress callback