You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					14 lines
				
				826 B
			
		
		
			
		
	
	
					14 lines
				
				826 B
			| 
											3 years ago
										 | 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; |