Error<T> constructor

const Error<T>(
  1. Failure failure
)

Creates an Error holding failure.

Implementation

const Error(this.failure);