Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
826 bytes
|
Line | |
---|
1 | import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
|
---|
2 | import { CodeGen, Code, Name } from "./codegen";
|
---|
3 | export declare const keywordError: KeywordErrorDefinition;
|
---|
4 | export declare const keyword$DataError: KeywordErrorDefinition;
|
---|
5 | export interface ErrorPaths {
|
---|
6 | instancePath?: Code;
|
---|
7 | schemaPath?: string;
|
---|
8 | parentSchema?: boolean;
|
---|
9 | }
|
---|
10 | export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
|
---|
11 | export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
|
---|
12 | export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
|
---|
13 | export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.