Table of Contents

TModuleExceptionArgs Class

Arguments of the event fired when an exception is raised while processing a request.

Syntax

Unit: XData.Module.Events

TModuleExceptionArgs = class(TXDataModuleArgs);

Constructors

Name Description
Create Creates the event arguments for a raised exception.

Properties

Name Description
Action Gets or sets what the server does once the event handler returns.
ErrorCode Gets or sets the value of the ErrorCode property in the JSON error response sent to the client.
ErrorMessage Gets or sets the value of the ErrorMessage property in the JSON error response sent to the client.
Errors Gets the list of detailed errors included in the JSON error response.
Exception Gets the exception raised while processing the request.
StatusCode Gets or sets the HTTP status code to be sent to the client.