Optional
Custom handler for ctx.fail(). Can be an Error constructor or a function that throws.
ctx.fail()
new HookEngine({ handleFail: HttpsError }); Copy
new HookEngine({ handleFail: HttpsError });
Custom handler for
ctx.fail(). Can be an Error constructor or a function that throws.