UNPKG

@ivandt/json-rules

Version:

Rule parsing engine for JSON rules

9 lines (8 loc) 274 B
import { ValidationResult } from "../services"; export declare class RuleError extends Error { constructor(validationResult: ValidationResult); /** The name/type of the error. */ type: string; /** The element that caused the error. */ element: object; }