code: function ValidatorError (path, type) {
    var msg = type
      ? '"' + type + '" '
      : '';
    NeopreneError.call(this, 'Validator ' + msg + 'failed for path ' + path);
    Error.captureStackTrace(this, arguments.callee);
    this.name = 'ValidatorError';
    this.path = path;
    this.type = type;
  }
docs: Schema validator error
  
  @param {String} path
  @param {String} msg
  @inherits NeopreneError
  @api private