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:

SituationRecipe
A local integration boundary must consume an exception but still request application-level actionReport an intentionally handled error
Diagnosis needs a few operation facts without exporting application stateAdd bounded diagnostic context
An owned child Isolate needs to forward terminal errorsConnect a child isolate
A worker, test, desktop shell, or embedded host has deterministic teardownShut 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.