import { ServiceLevelObjective } from '../common'; import { SloControlLoop } from './slo-control-loop'; /** * This type of error is thrown by the `SloControlLoop`. */ export declare class SloControlLoopError extends Error { controlLoop: SloControlLoop; cause?: any; constructor(controlLoop: SloControlLoop, message: string, cause?: any); } /** * This type of error is thrown by the `SloControlLoop` if there is an error during the evaluation of an SLO. */ export declare class SloEvaluationError extends Error { controlLoop: SloControlLoop; sloKey: string; slo: ServiceLevelObjective; sloEvaluationError: any; constructor(controlLoop: SloControlLoop, sloKey: string, slo: ServiceLevelObjective, sloEvaluationError: any, msg?: string); } /** * This error is thrown if a certain metric cannot be fetched. */ export declare class MetricUnavailableError extends Error { metricName: string; query?: any; constructor(metricName: string, query?: any, msg?: string); }