Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sections/writing_workflows/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading