• Parameters

    • error: Error

      The error that caused the failure.

    • context: HookContext

      Contextual information about the hook.

    Returns Promise<Record<string, any>>

    Fulfilled - Returning a fulfilled promise will result in a fulfilled data operation with the provided result. Rejected - Returning a rejected promise will result in returning a rejected promise to the caller of the data operation.

    A hook that is triggered on any error or rejected Promise from any of the weiv-data hook operations. (Operations except hooks doesn't trigger that currently.)