You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
283 B

2 months ago
export interface NextError extends Error {
type?: string;
page?: string;
code?: string | number;
cancelled?: boolean;
digest?: number;
}
export default function isError(err: unknown): err is NextError;
export declare function getProperError(err: unknown): Error;