Files
williammarch.xyz/node_modules/next/dist/lib/format-server-error.d.ts
2026-04-02 19:13:46 +01:00

13 lines
368 B
TypeScript

/**
* Input:
* Error: Something went wrong
at funcName (/path/to/file.js:10:5)
at anotherFunc (/path/to/file.js:15:10)
* Output:
at funcName (/path/to/file.js:10:5)
at anotherFunc (/path/to/file.js:15:10)
*/
export declare function getStackWithoutErrorMessage(error: Error): string;
export declare function formatServerError(error: Error): void;