Created
March 26, 2018 10:26
-
-
Save charmygarg/3bad39e4d70f10c49c9d75702beffa3b to your computer and use it in GitHub Desktop.
Option with try example
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
Option<Configuration> config = Try.of(Configuration::load).toOption(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment