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

13 lines
445 B
TypeScript

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);
}