OptionalonNotifyError: (error: CellError) => void
where failures of notification handlers go instead of failing the dispatch:
cell dev keeps running (docs/design/modules.md §3.4); builds leave it unset and fail.
Protected ReadonlyhandlersProtected Optional Readonlyonwhere failures of notification handlers go instead of failing the dispatch:
cell dev keeps running (docs/design/modules.md §3.4); builds leave it unset and fail.
Gate events: the first handler returning { cancel: true } or throwing (fail closed) stops the operation.
ProtectedsnapshotStatichandlerCell errors keep their code; anything else becomes CELL_MODULE_ERROR naming the source.
Dispatches toolchain events by the fixed rule of each event (docs/design/modules.md §3.2). Handlers run one after another in registration order; a dispatch works on a snapshot of the handlers.