UNPKG

@truffle/error

Version:

Simple module that allows native Error objects to be extended

10 lines 240 B
"use strict"; class TruffleError extends Error { constructor(message) { super(message); this.name = this.constructor.name; this.stack = ""; } } module.exports = TruffleError; //# sourceMappingURL=index.js.map