ExceptionToHTML procedure
Utility function to format exceptions as HTML error pages
Declaration
procedure ExceptionToHTML(S: TStrings; const E: Exception;
const Title: string; const Email: string;
const Administrator: string;
IncludeStackTrace: Boolean)Arguments
S | String list to store the generated HTML content |
E | The exception to format as HTML |
Title | Application title for the error page |
Email | Administrator email address for contact link |
Administrator | Administrator name for the contact information |
IncludeStackTrace |
Description
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.
Errors
No specific errors during HTML generation.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
