TErrorResponseOptions Class
Holds information about the response to be sent to the client when an exception is intercepted by the logging middleware.
Syntax
Unit: Sparkle.Middleware.Logging
TErrorResponseOptions = class(TPersistent);
Properties
Name | Description |
---|---|
StatusCode | The status code of the response. |
ErrorCode | The error code of the response. |
ErrorMessageFormat | The format string for the error message. |