UNPKG

nuxt-multi-cache

Version:

SSR route, component and data cache for Nuxt.js

8 lines (7 loc) 277 B
import type { CapturedErrorContext } from 'nitropack'; /** * Callback for the 'error' nitro hook. * * This is called during any error that happens in an event handler. */ export declare function onError(_error: Error, ctx: CapturedErrorContext): Promise<void> | undefined;