MitocGroup/deep-framework

View on GitHub
src/deep-search/lib/Exception/MissingSearchClientException.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Created by mgoria on 3/7/16.
 */

'use strict';

import {Exception} from './Exception';

/**
 * Thrown when any exception occurs
 */
export class MissingSearchClientException extends Exception {
  /**
   * @param {String} domainUrl
   * @param {String} domainType
   */
  constructor(domainUrl, domainType) {
    super(
      `Error on creating "${domainType}" client for "${domainUrl}" domain . Client implementation is missing.`
    );
  }
}