UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

24 lines (22 loc) 476 B
/** * Push error * @category Graph */ export class PushError extends Error { /** * Frame subject */ frameUID: string; /** * Node that triggered the error */ nodeUID: string; constructor(frameUID: string, nodeUID: string, error: Error) { super(); this.frameUID = frameUID; this.nodeUID = nodeUID; this.name = error.name; this.message = error.message; this.stack = error.stack; } }