source: trip-planner-front/node_modules/ajv/dist/compile/ref_error.js@ ceaed42

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";
2Object.defineProperty(exports, "__esModule", { value: true });
3const resolve_1 = require("./resolve");
4class 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}
11exports.default = MissingRefError;
12//# sourceMappingURL=ref_error.js.map
Note: See TracBrowser for help on using the repository browser.