main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
937 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
---|
4 | exports.__esModule = true;
|
---|
5 | exports.default = void 0;
|
---|
6 | var _JsonPointerError = _interopRequireDefault(require("./JsonPointerError.cjs"));
|
---|
7 | class EvaluationJsonPointerError extends _JsonPointerError.default {
|
---|
8 | pointer;
|
---|
9 | tokens;
|
---|
10 | failedToken;
|
---|
11 | failedTokenPosition;
|
---|
12 | element;
|
---|
13 | constructor(message, structuredOptions) {
|
---|
14 | super(message, structuredOptions);
|
---|
15 | if (typeof structuredOptions !== 'undefined') {
|
---|
16 | this.pointer = structuredOptions.pointer;
|
---|
17 | if (Array.isArray(structuredOptions.tokens)) {
|
---|
18 | this.tokens = [...structuredOptions.tokens];
|
---|
19 | }
|
---|
20 | this.failedToken = structuredOptions.failedToken;
|
---|
21 | this.failedTokenPosition = structuredOptions.failedTokenPosition;
|
---|
22 | this.element = structuredOptions.element;
|
---|
23 | }
|
---|
24 | }
|
---|
25 | }
|
---|
26 | var _default = exports.default = EvaluationJsonPointerError; |
---|
Note:
See
TracBrowser
for help on using the repository browser.