object Attempt
Companion for Attempt.
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Type members
Classlikes
Value members
Concrete methods
Creates an attempt from the supplied option. The ifNone
value is used as the success value if opt
is None
.
Creates an attempt from the supplied option. The ifNone
value is used as the success value if opt
is None
.
Creates an attempt from the supplied option. The ifNone
value is used as the error message if opt
is None
.
Creates an attempt from the supplied option. The ifNone
value is used as the error message if opt
is None
.
Creates a successful attempt if the condition succeeds otherwise create a unsuccessful attempt.
Creates a successful attempt if the condition succeeds otherwise create a unsuccessful attempt.