UNPKG

@fantasia949/ib

Version:

Interactive Brokers TWS (or IB Gateway) API client library for Node.js

12 lines (10 loc) 341 B
function UnderrunError(message) { this.name = 'UnderrunError'; this.message = message || 'An underrun error has occurred'; this.stack = (new Error()).stack; } UnderrunError.prototype = Object.create(Error.prototype); UnderrunError.prototype.constructor = UnderrunError; module.exports = { UnderrunError: UnderrunError };