Skip to content

Commit

Permalink
expost Validation Error - fix to ajv-validator#1926
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyb648 committed Jun 27, 2022
1 parent 99e884d commit 3f8161a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/2019.ts
Expand Up @@ -76,3 +76,5 @@ export {DefinedError} from "./vocabularies/errors"
export {JSONType} from "./compile/rules"
export {JSONSchemaType} from "./types/json-schema"
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
export { default as ValidationError } from "./runtime/validation_error"
export { default as MissingRefError } from "./compile/ref_error"
2 changes: 2 additions & 0 deletions lib/2020.ts
Expand Up @@ -70,3 +70,5 @@ export {DefinedError} from "./vocabularies/errors"
export {JSONType} from "./compile/rules"
export {JSONSchemaType} from "./types/json-schema"
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
export { default as ValidationError } from "./runtime/validation_error"
export { default as MissingRefError } from "./compile/ref_error"
2 changes: 2 additions & 0 deletions lib/ajv.ts
Expand Up @@ -65,3 +65,5 @@ export {DefinedError} from "./vocabularies/errors"
export {JSONType} from "./compile/rules"
export {JSONSchemaType} from "./types/json-schema"
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
export { default as ValidationError } from "./runtime/validation_error"
export { default as MissingRefError } from "./compile/ref_error"
2 changes: 2 additions & 0 deletions lib/jtd.ts
Expand Up @@ -127,3 +127,5 @@ export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./com

export {JTDSchemaType, SomeJTDSchemaType, JTDDataType}
export {JTDOptions}
export { default as ValidationError } from "./runtime/validation_error"
export { default as MissingRefError } from "./compile/ref_error"

0 comments on commit 3f8161a

Please sign in to comment.