Skip to content

BeforeHookExecutionError

import { BeforeHookExecutionError } from '@kairo-js/router'

extends Error

Thrown when a before hook throws. By the time this error is thrown, rollback for the failing hook has already been executed.

Constructor

typescript
constructor(cause?: unknown)
ParameterTypeDescription
causeunknownThe original exception that was thrown (optional)

Released under the MIT License.