import { OsdError } from '../../../../opensearch_dashboards_utils/common/' ; /**
 * Tried to call a method that relies on SearchSource having an indexPattern assigned
 */ export class IndexPatternMissingIndices extends OsdError { constructor ( message ) { const defaultMessage = "IndexPattern's configured pattern does not match any indices" ; super ( message && message . length ? `No matching indices found: ${ message }` : defaultMessage ) ; } }