flow like the river

This commit is contained in:
root 2025-11-07 00:06:12 +01:00
commit 013fe673f3
42435 changed files with 5764238 additions and 0 deletions

View file

@ -0,0 +1,44 @@
/// <reference types="node" />
import * as http from 'http';
import { DiagnosticResult } from './types';
export declare class ElasticsearchClientError extends Error {
constructor(message: string);
}
export declare class TimeoutError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult);
}
export declare class ConnectionError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult);
}
export declare class NoLivingConnectionsError extends ElasticsearchClientError {
meta: DiagnosticResult;
constructor(message: string, meta: DiagnosticResult);
}
export declare class SerializationError extends ElasticsearchClientError {
data: Record<string, any>;
constructor(message: string, data: Record<string, any>);
}
export declare class DeserializationError extends ElasticsearchClientError {
data: string;
constructor(message: string, data: string);
}
export declare class ConfigurationError extends ElasticsearchClientError {
constructor(message: string);
}
export declare class ResponseError extends ElasticsearchClientError {
meta: DiagnosticResult;
constructor(meta: DiagnosticResult);
get body(): any | undefined;
get statusCode(): number | undefined;
get headers(): http.IncomingHttpHeaders | undefined;
}
export declare class RequestAbortedError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult);
}
export declare class ProductNotSupportedError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(product: string, meta?: DiagnosticResult);
}