errors property

Iterable<String> get errors

Implementation

Iterable<String> get errors => switch (this) {
      ParseSuccess() => const Iterable.empty(),
      ParseFailure(:final errors) => errors,
    };