Event type for custom exception handling in HTTP requests
Source position: custweb.pp line 38
type TOnShowRequestException = procedure( |
AResponse: TResponse; |
AnException: Exception; |
var handled: Boolean |
); |
AResponse |
|
The HTTP response object for sending error response |
AnException |
|
The exception that occurred during request processing |
handled |
|
Set to True if the exception was handled by the event |
Event handler type called when an exception occurs during HTTP request processing. Allows custom handling of exceptions before the default error response is generated.
|
Event for custom exception handling during request processing |