UNPKG

330 BTypeScriptView Raw
1/**
2 * Indicates that the file could not be rendered. If the `cause` property is
3 * undefined, this error can be considered as a pure 404, otherwise it can be a
4 * 500.
5 */
6export declare class NotFoundError extends Error {
7 path: string;
8 constructor(path: string, options?: {
9 cause?: unknown;
10 });
11}