Result<T, E>.err constructor
const
Result<T, E>.err (
- E error
Constructs an Err result from the given error.
Implementation
const factory Result.err(E error) = Err;
Constructs an Err result from the given error.
const factory Result.err(E error) = Err;