/** * Standard Kuzzle error. * * @see https://docs.kuzzle.io/core/2/api/errors/types/ */ export declare class KuzzleError extends Error { /** * Http status code */ status: number; /** * Stacktrace */ stack: string; /** * Kuzzle stacktrace (development mode only) */ kuzzleStack?: string; /** * Unique ID */ id: string; /** * Code */ code: number; /** * Associated errors * (PartialError only) */ errors?: Array; /** * Number of associated errors * (PartialError only) */ count?: number; constructor(apiError: any, stack?: any); }