Result<Success>.fail constructor

Result<Success>.fail(
  1. Exception? error
)

Implementation

Result.fail(this.error);