nspectre - declarative validation for .NET

ValidationError Constructor (String, String)

Creates a new instance of ValidationError

public ValidationError(
   string specificationName,
   string message
);

Parameters

specificationName
The name of the specification that failed.
message
The message that explains the error.

See Also

ValidationError Class | NSpectre.Core Namespace | ValidationError Constructor Overload List