/** * Custom error class for FreshRSS API errors */ export declare class FreshRSSError extends Error { readonly statusCode?: number | undefined; readonly endpoint?: string | undefined; readonly method?: string | undefined; readonly retriable?: boolean | undefined; readonly responseSnippet?: string | undefined; readonly cause?: Error | undefined; constructor(message: string, statusCode?: number | undefined, endpoint?: string | undefined, method?: string | undefined, retriable?: boolean | undefined, responseSnippet?: string | undefined, cause?: Error | undefined); } /** * Error thrown when authentication fails */ export declare class AuthenticationError extends FreshRSSError { constructor(message: string, cause?: Error, responseSnippet?: string); } /** * Error thrown when a resource is not found */ export declare class NotFoundError extends FreshRSSError { constructor(message: string, endpoint?: string, method?: string, responseSnippet?: string); } //# sourceMappingURL=errors.d.ts.map