Result<T>.error constructor
Result<T>.error ({
- Exception? exception,
Implementation
factory Result.error({
Exception? exception,
}) =>
ErrorResult(
exception: exception,
);