Class RuleValidationException
- Namespace
- RuleWright.Serialization
- Assembly
- RuleWright.Serialization.dll
Thrown when a well-formed JSON document fails structural validation against the RuleWright schema contract. Carries the individual RuleValidationError entries with their JSON pointer paths.
public sealed class RuleValidationException : RuleWrightException, ISerializable
- Inheritance
-
RuleValidationException
- Implements
- Inherited Members
Constructors
- RuleValidationException(IReadOnlyList<RuleValidationError>)
Creates the exception from validation errors.
Properties
- Errors
The validation errors with JSON pointer paths.