Recipes
Ark Error Manager recipes
Apply focused patterns for handled failures, context, child isolates, and controlled shutdown.
v1.1.0Intermediate
Ark Error Manager recipes
Recipes solve one integration problem without redefining application ownership:
| Situation | Recipe |
|---|---|
| A local integration boundary must consume an exception but still request application-level action | Report an intentionally handled error |
| Diagnosis needs a few operation facts without exporting application state | Add bounded diagnostic context |
| An owned child Isolate needs to forward terminal errors | Connect a child isolate |
| A worker, test, desktop shell, or embedded host has deterministic teardown | Shut down a controlled host |
Do not copy the handled-error recipe around every operation. Normal propagation remains the default route to a root boundary.
If you are unsure which row applies, return to Choose the correct handling path. Recipes assume the ownership decision has already been made.