Daraja HTTP Framework 3.4.0-SNAPSHOT
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
TdjServerContext Class Reference

A subclass of the Indy context class is used for future extensions. More...

Inheritance diagram for TdjServerContext:

Public Attributes

string LastErrorExceptionClass
 The class name of the exception that triggered the current TdjContextHandler.ErrorHandler invocation.
string LastErrorExceptionMessage
 The message of the exception that triggered the current TdjContextHandler.ErrorHandler invocation.
Integer LastErrorStatusCode
 The HTTP status code set for the exception described by LastErrorExceptionClass/LastErrorExceptionMessage.

Detailed Description

A subclass of the Indy context class is used for future extensions.

Member Data Documentation

◆ LastErrorExceptionClass

string TdjServerContext::LastErrorExceptionClass

The class name of the exception that triggered the current TdjContextHandler.ErrorHandler invocation.

See also
LastErrorStatusCode

◆ LastErrorExceptionMessage

string TdjServerContext::LastErrorExceptionMessage

The message of the exception that triggered the current TdjContextHandler.ErrorHandler invocation.

See also
LastErrorStatusCode

◆ LastErrorStatusCode

Integer TdjServerContext::LastErrorStatusCode

The HTTP status code set for the exception described by LastErrorExceptionClass/LastErrorExceptionMessage.

Only meaningful while an TdjContextHandler.ErrorHandler is being invoked for the current request; not cleared afterwards, so do not read it outside of that call.