Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
498 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(baseId, ref, msg) {
|
---|
6 | super(msg || `can't resolve reference ${ref} from id ${baseId}`);
|
---|
7 | this.missingRef = resolve_1.resolveUrl(baseId, ref);
|
---|
8 | this.missingSchema = resolve_1.normalizeId(resolve_1.getFullPath(this.missingRef));
|
---|
9 | }
|
---|
10 | }
|
---|
11 | exports.default = MissingRefError;
|
---|
12 | //# sourceMappingURL=ref_error.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.