UNPKG

@nydelic/toolbox

Version:

A collection of hooks, components, and other helpful tools.

12 lines 443 B
import { ServerResponseBase } from "./httpResponse"; declare function httpErrorResponse<TRes extends ServerResponseBase, TErr extends any>(res: TRes, err: any): import("./httpResponse").CustomNextHttpResponse<{ code: string; event_id: number; } | { stack: string | undefined; cause: Error | undefined; code: string; event_id: number; }>; export default httpErrorResponse; //# sourceMappingURL=httpErrorResponse.d.ts.map