node-epc
Version:
A library for Node.js to parse EPC encoded values from Gen2 RFID tags.
12 lines (9 loc) • 387 B
JavaScript
;
module.exports = function NotImplemented(message) {
/*INHERITANCE*/
Error.call(this); //super constructor
Error.captureStackTrace(this, this.constructor); //super helper method to include stack trace in error object
this.name = 'NotImplemented';
this.message = message || 'Not implemented.';
};
require('util').inherits(module.exports, Error);