Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Arsene <tochemey@hotmail.com>
  • Loading branch information
Tochemey authored Dec 24, 2024
1 parent 60820fa commit dc4a6fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ GoAkt comes bundled with the following default supervisor strategies that can be
Note: GoAkt will suspend a faulty actor when there is no supervisor strategy set in place for the corresponding error type. Once can check the state of the actor using the `IsSuspended` method on the `PID`.
A suspended actor can be restarted or shutdown, however it cannot handle any messages sent to it. There are buit-in error types one can use:
- `PanicError`: to wrap up an error instead of using the go standard _panic_.
- `InternalError`: it is a wrapper around an error that can categorize internal.
- `SpawnError`: it is used to throw an actor creation error.
- `InternalError`: it is a wrapper around an error that can be categorized as internal.
- `SpawnError`: recommended when the creation of an actor failed.

In GoAkt each child actor is treated separately. There is no concept of one-for-one and one-for-all strategies.
The following directives are supported:
Expand Down

0 comments on commit dc4a6fc

Please sign in to comment.