hexo/node_modules/ajv/dist/compile/error_classes.d.ts

13 lines
433 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
import type { ErrorObject } from "../types";
export declare class ValidationError extends Error {
readonly errors: Partial<ErrorObject>[];
readonly ajv: true;
readonly validation: true;
constructor(errors: Partial<ErrorObject>[]);
}
export declare class MissingRefError extends Error {
readonly missingRef: string;
readonly missingSchema: string;
constructor(baseId: string, ref: string, msg?: string);
}