TServerRequestErrorEvent = procedure (Request: TServerRequest;
const ErrorMsg: String) of object
Available In: Client and Server Applications
The TServerRequestErrorEvent event type is used by the TServerRequestOnError event to indicate when a server request could not be completed due to a network error.
The Request parameter indicates the server request that triggered the event. For client applications, the ErrorMsg always indicates the error message determined by the ERR_HTTP_REQUEST_NETWORK translation set in the TFormatSettingsTranslations property. For server applications, the ErrorMsg is the specific error mesage for the network error.