ValidationError Class |
Namespace: Newtonsoft.Json.Schema
public class ValidationError : IJsonLineInfo
The ValidationError type exposes the following members.
Name | Description | |
---|---|---|
ValidationError | Initializes a new instance of the ValidationError class |
Name | Description | |
---|---|---|
ChildErrors |
Gets the ValidationError's child errors.
| |
ErrorType |
Gets the ErrorType that generated the error.
| |
LineNumber |
Gets the line number indicating where the error occurred.
| |
LinePosition |
Gets the line position indicating where the error occurred.
| |
Message |
Gets the message describing the error that occurred.
| |
Path |
Gets the path to the JSON where the error occurred.
| |
Schema |
Gets the JSchema that generated the error.
| |
SchemaBaseUri |
Gets the base URI of the JSchema that generated the error.
| |
SchemaId |
Gets the ID of the JSchema that generated the error, relative to the root schema.
| |
Value |
Gets the JSON value when the error occurred.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |