UNPKG

google-trends-api-client

Version:

An fully typed and easy to use client for the google trends api.

10 lines (9 loc) 459 B
/** * UnexpectedCodePath errors are used to indicate that we've reached a code path that should never have been reached * * Purpose of having a dedicated class for this type of error is to allow us to easily add metadata about what was going on when we reached this code path * - e.g., the variables in memory at the time */ export declare class UnexpectedCodePathError extends Error { constructor(message: string, metadata?: Record<string, any>); }