Result<D>.error constructor

const Result<D>.error(
  1. Exception error
)

Implementation

const factory Result.error(Exception error) = _Error;