Skip to content

createHookErrorReporter

function createHookErrorReporter(source): HookErrorReporter;

Defined in: src/hooks/contract.ts:91

Build an after-hook error reporter that warns with [source] as the log prefix and never throws. Products pass their package name: createHookErrorReporter("@xtandard/webhooks").

Parameter Type
source string

HookErrorReporter