method TransformationHookManager.prototype.executeErrorHooks
TransformationHookManager.prototype.executeErrorHooks(context: TransformationHookContext & { error: Error; }): Promise<void>

Execute all registered onError hooks in order.

Called by the pipeline inside the try-catch that wraps each transformation.execute(). Each hook is awaited sequentially. After all hooks have run the pipeline re-throws the original error.

Parameters

context: TransformationHookContext & { error: Error; }

Return Type

Promise<void>

Usage

import { TransformationHookManager } from ".";