error property

ResultError? error

Implementation

ResultError? get error => errors.isEmpty ? null : errors.first;