TErrorInfo Class
Holds the code and message of one detailed error included in an error response.
Remarks
Instances are added to TXDataServerError.Errors when a single request fails for several reasons, for example one item for each failed validation. Each item is written as an object with code and message members in the errors array of the JSON error response.
Syntax
Unit: XData.Payload.Writer
TErrorInfo = class(TObject);
Constructors
| Name | Description |
|---|---|
| Create | Overloaded Create(string) Create(string, string) |