Evaluates the specified value and lifts the result in to an Attempt
if evaluation completes
without throwing.
Evaluates the specified value and lifts the result in to an Attempt
if evaluation completes
without throwing. If a non-fatal exception is thrown, it is returned wrapped in Left
. Fatal
exceptions are thrown.
Alias for Left(t)
but returns the result as an Attempt[Nothing]
instead of a left.
Alias for Right(a)
but returns the result as an Attempt[A]
instead of a right.
Provides constructors for the
Attempt
alias.