Try<Success, Failure extends Exception>.failure constructor

Try<Success, Failure extends Exception>.failure(
  1. Failure? failure
)

Implementation

Try.failure(this.failure) : success = null;