UNPKG

bigquery-client

Version:

A feature-rich Node.js client for Google BigQuery with support for CRUD operations, transactions, query building, and advanced features like aggregate functions, pagination, and logging.

22 lines (21 loc) 738 B
export declare enum ErrorType { QUERY_ERROR = "QUERY_ERROR", CONNECTION_ERROR = "CONNECTION_ERROR", VALIDATION_ERROR = "VALIDATION_ERROR", TIMEOUT_ERROR = "TIMEOUT_ERROR", CACHE_ERROR = "CACHE_ERROR" } export declare class BigQueryError extends Error { code: ErrorType; details?: any | undefined; constructor(message: string, code: ErrorType, details?: any | undefined); } export declare class ValidationError extends BigQueryError { constructor(message: string, details?: any); } export declare class ConnectionError extends BigQueryError { constructor(message: string, details?: any); } export declare class TimeoutError extends BigQueryError { constructor(message: string, details?: any); }