Scala 3, Programming Scala.
Handling Next Martin discussed new ways of handling errors that leverage boundary and break, and are partly inspired by the way Rust handles errors. He used a simpler example of trying a computation that will hopefully return a result wrapped in a Some, but if it can’t succeed, then it will return