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 attempt from a try.
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.
Creates a successful attempt.
Companion for Attempt.