TXDataBaseRequestHandler.SendErrorResponse Method
Sends an error response to the client in the format of the current payload.
Syntax
Unit: XData.Module.Base
procedure TXDataBaseRequestHandler.SendErrorResponse(Error: TXDataServerError); virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Error | TXDataServerError | The error to send. Its status code is used for the response, or 500 when it is not a valid HTTP status code. |