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