"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpsertMetricsExplorerViewError = exports.FetchMetricsExplorerViewError = exports.DeleteMetricsExplorerViewError = void 0; /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ /* eslint-disable max-classes-per-file */ class FetchMetricsExplorerViewError extends Error { constructor(message, cause) { super(message); this.cause = cause; Object.setPrototypeOf(this, new.target.prototype); this.name = 'FetchMetricsExplorerViewError'; } } exports.FetchMetricsExplorerViewError = FetchMetricsExplorerViewError; class UpsertMetricsExplorerViewError extends Error { constructor(message, cause) { super(message); this.cause = cause; Object.setPrototypeOf(this, new.target.prototype); this.name = 'UpsertMetricsExplorerViewError'; } } exports.UpsertMetricsExplorerViewError = UpsertMetricsExplorerViewError; class DeleteMetricsExplorerViewError extends Error { constructor(message, cause) { super(message); this.cause = cause; Object.setPrototypeOf(this, new.target.prototype); this.name = 'DeleteMetricsExplorerViewError'; } } exports.DeleteMetricsExplorerViewError = DeleteMetricsExplorerViewError;