Utility function to format exceptions as HTML error pages
Source position: custweb.pp line 179
procedure ExceptionToHTML( |
S: TStrings; |
const E: Exception; |
const Title: string; |
const Email: string; |
const Administrator: string |
); |
S |
|
String list to store the generated HTML content |
E |
|
The exception to format as HTML |
Title |
|
Application title for the error page |
|
Administrator email address for contact link |
|
Administrator |
|
Administrator name for the contact information |
Formats an exception into a complete HTML error page with stack trace information. Generates a user-friendly error page that includes exception details, stack trace, and administrator contact information.
The generated HTML includes the application title, error message, stack trace with function names, and optional administrator email contact link.
No specific errors during HTML generation.
TWebHandler.ShowRequestException |