Skip to content

Commit

Permalink
Small typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannipizzi authored Oct 5, 2022
1 parent 225c829 commit 934f577
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 934f577

Please sign in to comment.