Skip to content

Commit

Permalink
Updated error handling docs to reflect InvokeAsync() usage. Closes GH…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Nov 21, 2023
1 parent 1a1a1bd commit af7610f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/guide/handlers/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ pause message processing on a single listening endpoint in the case of a high ra

## Error Handling Rules

::: warning
When using `IMessageBus.InvokeAsync()` to execute a message inline, only the "Retry" and "Retry With Cooldown" error policies
are applied to the execution. In other words, Wolverine will attempt to use retries inside the call to `InvokeAsync()` as
configured.
:::

Error handling rules in Wolverine are defined by three things:

1. The scope of the rule. Really just per message type or global at this point.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/mediator.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ method takes the message passed in, finds the correct execution path for the mes
executes the correct Wolverine handler(s) as well as any of the registered [Wolverine middleware](/guide/handlers/middleware).

::: tip
This execution happens inline, but will use the *RetryNow* error handling capabilities. See [Wolverine's error handling](/guide/handlers/error-handling) for more information.
This execution happens inline, but will use the "Retry" or "Retry with Cooldown" error handling capabilities. See [Wolverine's error handling](/guide/handlers/error-handling) for more information.
:::

See also:
Expand Down

0 comments on commit af7610f

Please sign in to comment.