collabSupport/integrations/atlas/errors.js
jmcqueen 5e54ea6f57 Add /atlasdiag live AZM diagnostic with source alerts and monitor auto-off.
Ports Atlas /check as /atlasdiag: Hub resolve, UI tunnel, WebSocket report
for sources/zones/accessories, low source dB warnings, and auto-disable of
the monitor speaker when left on after troubleshooting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 17:59:17 -04:00

11 lines
256 B
JavaScript

// integrations/atlas/errors.js
export class XyteHttpError extends Error {
constructor(message, { status, body, url } = {}) {
super(message);
this.name = 'XyteHttpError';
this.status = status;
this.body = body;
this.url = url;
}
}