MitocGroup/deep-framework

View on GitHub
src/deep-validation/lib/Exception/InvalidJoiSchemaException.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Created by AlexanderC on 6/20/15.
 */

'use strict';

import {Exception} from './Exception';

export class InvalidJoiSchemaException extends Exception {
  /**
   * @param {String} schemaName
   */
  constructor(schemaName) {
    super(`Invalid validation schema ${schemaName}. Object must be a Joi instance!`);
  }
}