next
Version:
The React Framework
5 lines (4 loc) • 307 B
TypeScript
import type { StackFrame } from 'next/dist/compiled/stacktrace-parser';
import { type ErrorSourceType } from '../../../../shared/lib/error-source';
export declare function getFilesystemFrame(frame: StackFrame): StackFrame;
export declare function getServerError(error: Error, type: ErrorSourceType): Error;