Skip to content

Commit 60ea5de

Browse files
committed
docs: update exception example
1 parent 165a841 commit 60ea5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/Documentation/content/main/2-features/14-exception-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use function Tempest\report;
2020

2121
try {
2222
// Some code that may throw an exception
23-
} catch (SomeException $e) {
23+
} catch (SomethingFailed $e) {
2424
report($e);
2525
}
2626
```

0 commit comments

Comments
 (0)