Files
playbook/antigravity-awesome-skills/tools/lib/aas-v1/adapters/errors.js
T
2026-07-18 00:02:59 +00:00

18 lines
420 B
JavaScript

"use strict";
class HostConfigError extends Error {
constructor(code, category = "invalidInput", details = {}) {
super(code);
this.name = "HostConfigError";
this.code = code;
this.category = category;
this.details = details;
}
}
function hostConfigError(code, category, details) {
return new HostConfigError(code, category, details);
}
module.exports = { HostConfigError, hostConfigError };