UNPKG

@shaivpidadi/trends-js

Version:
24 lines (23 loc) 771 B
import { GoogleTrendsError } from '../types'; export declare class RateLimitError extends Error implements GoogleTrendsError { code: string; statusCode: number; constructor(message?: string); } export declare class InvalidRequestError extends Error implements GoogleTrendsError { code: string; statusCode: number; constructor(message?: string); } export declare class NetworkError extends Error implements GoogleTrendsError { code: string; constructor(message?: string); } export declare class ParseError extends Error implements GoogleTrendsError { code: string; constructor(message?: string); } export declare class UnknownError extends Error implements GoogleTrendsError { code: string; constructor(message?: string); }