Constructor RuleValidationError
- Namespace
- RuleWright.Serialization
- Assembly
- RuleWright.Serialization.dll
RuleValidationError(string, string)
Creates a validation error.
public RuleValidationError(string path, string message)
Parameters
pathstringJSON pointer to the offending value, e.g.
/rules/0/condition/operator.messagestringHuman-readable description of the problem.
Exceptions
- ArgumentNullException
pathis null.- ArgumentException
messageis null or empty.