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 2025Releases
latest 18-
0.3.210 Oct 2025Release notes
Open source →- Updated dependencies.
- Updated colorized toString() function.
- Updated list of Dart keywords.
-
0.3.104 Apr 2024 -
0.3.002 Jul 2023Release notes
Open source →- Applied lints, updated message formatter
toColorString. - Min. SDK version is now 3.0.0.
- Updated list of Dart reserved words.
- Applied lints, updated message formatter
-
0.2.425 Jan 2023 -
0.2.324 Jan 2023Release notes
Open source →- Changed inheritance structure.
ErrorOf<T>andErrorOfType<T>now extendError, andExceptionOf<T>andExceptionOfType<T>now implementException. - Amended examples and docs.
- Added tests.
- Changed inheritance structure.
-
0.2.126 Mar 2021 -
0.2.008 Mar 2021 -
0.2.0-nullsafety18 Jan 2021 pre-release -
0.1.3-nullsafety16 Jan 2021 pre-release -
0.1.2-nullsafety19 Nov 2020 pre-release -
0.1.1-nullsafety02 Oct 2020 pre-release -
0.1.0-nullsafety21 Sep 2020 pre-release -
0.0.629 Jul 2020 -
0.0.529 Jul 2020 -
0.0.424 Jul 2020Release notes
Open source →Added
utils/validators.dartcontaining methods for checking if an identifier is valid (does not clash with a Dart keyword, does not start with a number). -
0.0.315 Jul 2020 -
0.0.215 Jul 2020 -
0.0.115 Jul 2020