exception_templates 0.2.4 copy "exception_templates: ^0.2.4" to clipboard
exception_templates: ^0.2.4 copied to clipboard

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

0.2.4 #

  • Amended docs.

0.2.3 #

  • 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.

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.

5
likes
0
pub points
47%
popularity

Publisher

verified publishersimphotonics.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on exception_templates