UNPKG
@hkbyte/validator
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
0.0.2
0.0.1
Package for JSON Schema Validations and Parsing
github.com/hkbyte/npm-validator
hkbyte/npm-validator
@hkbyte/validator
/
lib
/
errors.js
11 lines
(10 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
ParsingError
=
void
0
;
class
ParsingError
extends
Error
{
constructor
(
message, path
) {
super
(message);
this
.
path
= path; } }
exports
.
ParsingError
=
ParsingError
;