errorResult<T> function

Result<T> errorResult<T>(
  1. BaseError error
)

Returns a failed result with a BaseError.

Implementation

Result<T> errorResult<T>(BaseError error) => _ErrorResult(error);