UNPKG

knxultimate

Version:

KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.

10 lines (8 loc) 306 B
export default class RequestTimeoutError extends Error { public constructor(details: string) { super(`Request timeout: ${details}`) // We need to set the prototype explicitly Object.setPrototypeOf(this, RequestTimeoutError.prototype) Object.getPrototypeOf(this).name = 'RequestTimeoutError' } }