Res<S, F>.err constructor

Res<S, F>.err(
  1. F value
)

Represents a failed result.

Implementation

Res.err(F value) : this._(Failure(value));