ark_error_manager 0.1.0-dev.1 copy "ark_error_manager: ^0.1.0-dev.1" to clipboard
ark_error_manager: ^0.1.0-dev.1 copied to clipboard

Centralized, policy-driven error management for Dart applications.

example/README.md

Ark Error Manager example #

Run from the package root:

dart run example/basic_pipeline.dart

The example demonstrates the complete core path:

  1. the composition root creates one manager;
  2. the application creates its own guarded Zone;
  3. an asynchronous failure reaches onUncaughtZoneError;
  4. a typed classifier assigns integration/degraded assessment;
  5. a context provider supplies bounded request metadata;
  6. the default sanitizer removes the authorization value;
  7. DeveloperLogErrorReporter receives only ErrorReport;
  8. flush and close complete the manager lifecycle.

The failing service has no reference to ErrorManager.

0
likes
160
points
--
downloads

Documentation

Documentation
API reference

Publisher

verified publisherarktelos.dev

Weekly Downloads

Centralized, policy-driven error management for Dart applications.

Homepage
Repository (GitLab)
View/report issues

Topics

#architecture #error-handling #observability

License

Apache-2.0 (license)

More

Packages that depend on ark_error_manager