Failed attempt.
Successful attempt.
Creates an unsuccessful attempt.
Creates an attempt from the supplied either.
Creates an attempt from the supplied option.
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.
Creates an attempt from the supplied option. The ifNone
value is used as the error message if opt
is None
.
Creates a successful attempt.
Companion for Attempt.