failure<T> static method

Result<T> failure<T>(
  1. Failure error
)

Implementation

static Result<T> failure<T>(Failure error) => Result._(error: error);