Table of Contents

Constructor RuleValidationError

Namespace
RuleWright.Serialization
Assembly
RuleWright.Serialization.dll

RuleValidationError(string, string)

Creates a validation error.

public RuleValidationError(string path, string message)

Parameters

path string

JSON pointer to the offending value, e.g. /rules/0/condition/operator.

message string

Human-readable description of the problem.

Exceptions

ArgumentNullException

path is null.

ArgumentException

message is null or empty.