diff --git a/Chapters/06_Failure.md b/Chapters/06_Failure.md index 4e0333e7..0fa8a10b 100644 --- a/Chapters/06_Failure.md +++ b/Chapters/06_Failure.md @@ -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 =>