site-panzai/node_modules/nitropack/dist/runtime/internal/error/utils.d.ts

9 lines
318 B
TypeScript
Raw Normal View History

2026-11-13 13:57:04 +01:00
import type { NitroErrorHandler } from "nitropack/types";
export declare function defineNitroErrorHandler(handler: NitroErrorHandler): NitroErrorHandler;
export type InternalHandlerResponse = {
status: number;
statusText: string;
headers: Record<string, string>;
body: string | Record<string, any>;
};