package.cjs.errors.InvalidJsonPointerError.cjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-json-pointer Show documentation
Show all versions of apidom-json-pointer Show documentation
Evaluate JSON Pointer expressions against ApiDOM.
The newest version!
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
exports.__esModule = true;
exports.default = void 0;
var _JsonPointerError = _interopRequireDefault(require("./JsonPointerError.cjs"));
class InvalidJsonPointerError extends _JsonPointerError.default {
pointer;
constructor(message, structuredOptions) {
super(message, structuredOptions);
if (typeof structuredOptions !== 'undefined') {
this.pointer = structuredOptions.pointer;
}
}
}
var _default = exports.default = InvalidJsonPointerError;