You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
284 B

class ConfigError extends Error {
constructor(message, name) {
super(message);
this.name = name || 'ConfigError';
// No need to show stack trace for known errors
this.stack = '';
process.exitCode = 2;
}
}
module.exports = ConfigError;