exception_templates 1.0.0
exception_templates: ^1.0.0 copied to clipboard
Generic Dart exception and error classes. Enables throwing and catching custom exceptions based on their type argument.
1.0.0 #
- Converted classes to use primary constructor syntax.
- Improved examples.
- Updated docs.
- Requires Dart ^3.13.0.
0.3.2 #
- Updated dependencies.
- Updated colorized toString() function.
- Updated list of Dart keywords.
0.3.1 #
- Applied lints.
- Updated dev dependencies.
- Amended README.md.
0.3.0 #
- Applied lints, updated message formatter
toColorString. - Min. SDK version is now 3.0.0.
- Updated list of Dart reserved words.
0.2.4 #
- Amended docs.
0.2.3 #
- Changed inheritance structure.
ErrorOf<T>andErrorOfType<T>now extendError, andExceptionOf<T>andExceptionOfType<T>now implementException. - Amended examples and docs.
- Added tests.
0.2.2 #
- Amended docs and analysis options.
0.2.1 #
- Migrated CI to github.
0.2.0 #
- Switched back to default test suite.
0.2.0-nullsafety #
- Removed references to option
--enable-experiment=non-nullable.
0.1.3-nullsafety #
- Updated dependencies.
0.1.2-nullsafety #
Amended README.md.
0.1.1-nullsafety #
- Min. Dart SDK version is now 2.10.0.
0.1.0-nullsafety #
Enabled null-safety. Testing now uses minimal_test.
0.0.6 #
Added dev_dependency on package pedantic. Applied linter suggestions.
0.0.5 #
Amended example\README.md. Added link to example.dart.
0.0.4 #
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).
0.0.3 #
Amended example.
0.0.2 #
Amended docs.
0.0.1 #
Initial version of the library.