Created
May 22, 2020 22:17
-
-
Save dkomanov/3b4a60ad6870a301fdce1a19a6db364c to your computer and use it in GitHub Desktop.
[writing-async-app-in-scala-part-1] for-comprehensions 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
movie <- getMovie.filter(!_.hidden).recoverWith { | |
case _: NoSuchElementException => Future.failed(new HiddenMovieException("...")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment