Skip to content

Commit

Permalink
mark as fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jul 23, 2024
1 parent 66dd9f5 commit 02491dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapters/06_Failure.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def run =
The new `temperatureAppComplete` cannot fail because there are no failures to catch.
If you try to catch failures from `temperatureAppComplete` by running the following, you will get a compiler error that is noisier than we want to show in the book:

```scala 3
```scala 3 mdoc:fail
def compilerError =
temperatureAppComplete.catchAll:
case ex: GpsException =>
Expand Down

0 comments on commit 02491dd

Please sign in to comment.