Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drexed committed Oct 2, 2024
1 parent 7312f8a commit c615247
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 @@ -142,7 +142,7 @@ command.context.result #=> 8
| `interrupted` | Command objects that could **NOT** be executed to completion due to a fault/exception. |

> [!CAUTION]
> States are automatically transitioned and should NEVER be altered manually.
> States are automatically transitioned and should **NEVER** be altered manually.
```ruby
class CalculatePower < Lite::Command::Base
Expand Down Expand Up @@ -172,7 +172,7 @@ A status of `success` is returned even if the command has **NOT** been executed.
| `error` | **Fault** to stop call execution due to a thrown `StandardError` based exception. |

> [!IMPORTANT]
> Faults must be manually set in your domain logic via the available their bang `!` methods.
> States must be manually set in your domain logic via the available their bang `!` fault methods.
```ruby
class CalculatePower < Lite::Command::Base
Expand Down

0 comments on commit c615247

Please sign in to comment.