1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 18x 18x 27x 27x 27x 27x 18x 18x | var util = require('util'); var ValueError = function(message) { Error.call(this); Error.captureStackTrace(this, this.constructor); this.name = 'ValueError'; this.message = message; }; util.inherits(ValueError, Error); module.exports = ValueError; |