UNPKG

@windingtree/wt-js-libs

Version:

Javascript libraries to interact with the Winding Tree contracts

12 lines (11 loc) 274 B
/** * Generic WT Libs error. */ export class WTLibsError extends Error { constructor (message, originalError) { super(message); this.name = this.constructor.name; this.originalError = originalError; Error.captureStackTrace(this, this.constructor); } }