PackageTrack
Sign in Get early access

exception_templates

Dart exception and error classes with generic type. Enables throwing, catching, and filtering custom exceptions based on their type argument.

0.3.2 14K downloads/mo #2534 most downloaded on pub.dev simphotonics/exception_templates

What this package is like to depend on

Last release 10 months ago

10 Oct 2025

Ships unpredictably

gaps range from 8 days to 1.8 years

Nearly every release is documented

notes for 13 of 13 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

18 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

18 releases · Jul 2020 to Oct 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 0.3.2 10 Oct 2025
    Release notes
    • Updated dependencies.
    • Updated colorized toString() function.
    • Updated list of Dart keywords.
    Open source →
  2. 0.3.1 04 Apr 2024
    Release notes
    • Applied lints.
    • Updated dev dependencies.
    • Amended README.md.
    Open source →
  3. 0.3.0 02 Jul 2023
    Release notes
    • Applied lints, updated message formatter toColorString.
    • Min. SDK version is now 3.0.0.
    • Updated list of Dart reserved words.
    Open source →
  4. 0.2.4 25 Jan 2023
    Release notes
    • Amended docs.
    Open source →
  5. 0.2.3 24 Jan 2023
    Release notes
    • Changed inheritance structure. ErrorOf<T> and ErrorOfType<T> now extend Error, and ExceptionOf<T> and ExceptionOfType<T> now implement Exception.
    • Amended examples and docs.
    • Added tests.
    Open source →
  6. 0.2.1 26 Mar 2021
    Release notes
    • Migrated CI to github.
    Open source →
  7. 0.2.0 08 Mar 2021
    Release notes
    • Switched back to default test suite.
    Open source →
  8. 0.2.0-nullsafety 18 Jan 2021 pre-release
    Release notes
    • Removed references to option --enable-experiment=non-nullable.
    Open source →
  9. 0.1.3-nullsafety 16 Jan 2021 pre-release
    Release notes
    • Updated dependencies.
    Open source →
  10. 0.1.2-nullsafety 19 Nov 2020 pre-release
    Release notes

    Amended README.md.

    Open source →
  11. 0.1.1-nullsafety 02 Oct 2020 pre-release
    Release notes
    • Min. Dart SDK version is now 2.10.0.
    Open source →
  12. 0.1.0-nullsafety 21 Sep 2020 pre-release
    Release notes

    Enabled null-safety. Testing now uses minimal_test.

    Open source →
  13. 0.0.6 29 Jul 2020
    Release notes

    Added dev_dependency on package pedantic. Applied linter suggestions.

    Open source →
  14. 0.0.5 29 Jul 2020
    Release notes

    Amended example\README.md. Added link to example.dart.

    Open source →
  15. 0.0.4 24 Jul 2020
    Release notes

    Added utils/validators.dart containing methods for checking if an identifier is valid (does not clash with a Dart keyword, does not start with a number).

    Open source →
  16. 0.0.3 15 Jul 2020
    Release notes

    Amended example.

    Open source →
  17. 0.0.2 15 Jul 2020
    Release notes

    Amended docs.

    Open source →
  18. 0.0.1 15 Jul 2020
    Release notes

    Initial version of the library.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive