ark_error_manager 0.1.0-dev.1
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:
- the composition root creates one manager;
- the application creates its own guarded Zone;
- an asynchronous failure reaches
onUncaughtZoneError; - a typed classifier assigns integration/degraded assessment;
- a context provider supplies bounded request metadata;
- the default sanitizer removes the authorization value;
DeveloperLogErrorReporterreceives onlyErrorReport;flushandclosecomplete the manager lifecycle.
The failing service has no reference to ErrorManager.