export type ErrorCode_Http = `LETTERBOXD:HTTP${number}`; export type ErrorCode_ErrorPage = 'LETTERBOXD:ERRORPAGE'; export type ErrorCode = ErrorCode_Http | ErrorCode_ErrorPage; export type LetterboxdError = Error & { code?: ErrorCode; url?: string; statusCode?: number; description?: string; }; export declare const letterboxdHttpError: (options: { url: string; statusCode: number; message: string; }) => LetterboxdError; export declare const letterboxdPageError: (errorPage: ErrorPage) => LetterboxdError; export type ErrorPage = { title: string; description: string; }; //# sourceMappingURL=error.d.ts.map