TOnShowRequestException procedure type
Event type for custom exception handling in HTTP requests
Declaration
TOnShowRequestException = procedure(AResponse: TResponse;
AnException: Exception;
var handled: Boolean)Arguments
AResponse | The HTTP response object for sending error response |
AnException | The exception that occurred during request processing |
handled | Set to
|
Description
Event handler type called when an exception occurs during HTTP request processing. Allows custom handling of exceptions before the default error response is generated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
