UNPKG
@ivandt/json-rules
Version:
latest (2.2.0)
2.2.0
2.1.1
2.1.0
2.0.0
1.7.3
1.7.2
1.7.1
1.7.0
Rule parsing engine for JSON rules
github.com/xe4me/json-rules
xe4me/json-rules
@ivandt/json-rules
/
dist
/
errors
/
rule.error.d.ts
9 lines
(8 loc)
•
274 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
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
; }