1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1× 1× 1× | #!/usr/bin/node var CliConfigError = require('./abstract-error'); /** * CLI Config Error * * Error when the CLI params are created wrong. Should be thrown right away. * @param message * @param statusCode * @constructor */ CliConfigError.prototype.setMessage = function (message) { return message || "There was an issue with one or more of the inputs provided." } module.exports = CliConfigError; |