From 934f5779d78d464cf7452cc9f1c00a8f8cbd210d Mon Sep 17 00:00:00 2001 From: Giovanni Pizzi Date: Wed, 5 Oct 2022 15:10:15 +0200 Subject: [PATCH] Small typo fix --- docs/sections/writing_workflows/errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sections/writing_workflows/errors.md b/docs/sections/writing_workflows/errors.md index bbc802eb..37f3824d 100644 --- a/docs/sections/writing_workflows/errors.md +++ b/docs/sections/writing_workflows/errors.md @@ -49,7 +49,7 @@ Take the `MultiplyAddWorkChain` as an example: ``` -It defines the `ERROR_NEGATIVE_NUMBER` exit code with status `410` and message `'The result is a negative number.'`. +It defines the `ERROR_NEGATIVE_NUMBER` exit code with status `400` and message `'The result is a negative number.'`. This exit code is used in the `validate_result` step, where the sum produced by the `ArithmeticAddCalculation` is validated. ```{literalinclude} include/code/multiply_add.py