main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
543 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const resolve_1 = require("./resolve");
|
---|
4 | class MissingRefError extends Error {
|
---|
5 | constructor(resolver, baseId, ref, msg) {
|
---|
6 | super(msg || `can't resolve reference ${ref} from id ${baseId}`);
|
---|
7 | this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
|
---|
8 | this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
|
---|
9 | }
|
---|
10 | }
|
---|
11 | exports.default = MissingRefError;
|
---|
12 | //# sourceMappingURL=ref_error.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.