TResult<Value>.err constructor

TResult<Value>.err(
  1. TError error
)

Implementation

factory TResult.err(TError error) = TErr<Value>;