Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
14 lines
826 B
Plaintext
14 lines
826 B
Plaintext
import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
|
|
import { CodeGen, Code, Name } from "./codegen";
|
|
export declare const keywordError: KeywordErrorDefinition;
|
|
export declare const keyword$DataError: KeywordErrorDefinition;
|
|
export interface ErrorPaths {
|
|
instancePath?: Code;
|
|
schemaPath?: string;
|
|
parentSchema?: boolean;
|
|
}
|
|
export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
|
|
export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
|
|
export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
|
|
export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
|