Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
InvalidArgumentError.js 366 B
"use strict";

/* exported logger */

var logger = require('./logger');

function InvalidArgumentError(message) {
  this.message = message;
  this.stack = (new Error()).stack;
}

InvalidArgumentError.prototype = Object.create(Error.prototype);
InvalidArgumentError.prototype.constructor = InvalidArgumentError;

module.exports = InvalidArgumentError;