dns-suite.js/node_modules/dns-js/lib/errors.js

12 lines
236 B
JavaScript
Raw Normal View History

2017-01-14 02:04:27 +00:00
var util = require('util');
function MalformedPacket(/*message*/) {
Error.call(this);
this.message = util.format.apply(null, arguments);
}
util.inherits(MalformedPacket, Error);
module.exports.MalformedPacket = MalformedPacket;