ValidationError Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A single validation error with a JSON path and human-readable message.
public sealed class ValidationError
type ValidationError = class
Public NotInheritable Class ValidationError
- Inheritance
-
ValidationError
Constructors
| Name | Description |
|---|---|
| ValidationError(String, String) |
Initializes a new instance of the ValidationError class. |
Properties
| Name | Description |
|---|---|
| Message |
Gets a human-readable description of the constraint that was violated. |
| Path |
Gets the JSON path to the invalid field. |