Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 行
543 B
JavaScript
12 行
543 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const resolve_1 = require("./resolve");
|
|
class MissingRefError extends Error {
|
|
constructor(resolver, baseId, ref, msg) {
|
|
super(msg || `can't resolve reference ${ref} from id ${baseId}`);
|
|
this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
|
|
this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
|
|
}
|
|
}
|
|
exports.default = MissingRefError;
|
|
//# sourceMappingURL=ref_error.js.map
|