@@ -4557,16 +4557,16 @@ execution. Error handling defined in one state cannot be used to handle errors t
4557
4557
during workflow execution.
4558
4558
4559
4559
Errors that may arise during workflow execution that are not explicitly handled within the workflow definition
4560
- should be reported by runtime implementations and halt workflow execution,
4560
+ should be reported by runtime implementations and halt workflow execution.
4561
4561
4562
- Within workflow definitions, errors defined are ` domain specific` , meaning they are defined within
4562
+ Within workflow definitions, errors defined are ** domain specific** , meaning they are defined within
4563
4563
the actual business domain, rather than their technical (programming-language-specific) description.
4564
4564
4565
4565
For example, we can define errors such as "Order not found", or "Item not in inventory", rather than having to
4566
4566
use terms such as "java.lang.IllegalAccessError", or "response.status == 404", which
4567
4567
might make little to no sense to our specific problem domain, as well as may not be portable across various runtime implementations.
4568
4568
4569
- In addition to the domain specific error name, users have the option to also an optional error code
4569
+ In addition to the domain specific error name, users have the option to also add an optional error code
4570
4570
to help runtime implementations with mapping defined errors to concrete underlying technical ones.
4571
4571
4572
4572
Runtime implementations must be able to map the error domain specific name (and the optional error code)
@@ -4762,7 +4762,6 @@ In this example we say that if the "Inventory service timeout" error is encount
4762
4762
which holds the needed retry information. If the error definition does not include a `retryRef` property
4763
4763
it means that we do not want to perform retries for the defined error.
4764
4764
4765
-
4766
4765
When referencing a retry strategy in your states error definitions, if the maximum amount of unsuccessful retries is reached,
4767
4766
the workflow should transition to the next state
4768
4767
as defined by the error definitions `transition` property. If one of the performed retries is successful,
0 commit comments