List<Class> exceptions

Source

List<Class> get exceptions {
  return _allClasses
      .where((c) => c.isErrorOrException)
      .toList(growable: false)
        ..sort(byName);
}