Search Results for

    Show / Hide Table of Contents

    TErrorResponseOptions.ErrorMessageFormat Property

    The format string for the error message.

    Remarks

    You can use the following macros in the format string: %%0:s - The exception message %%1:s - The exception class name %%2:s - The log message (containing information about the request) %%3:s - The stack trace of the exception %%4:s - The opaque code of the error message By default, the ErrorrMessageFormat contains only the %%4:s message. This means that only an opaque code is displayed for the client, avoiding providing detailed information about server exceptions, for security purposes. With the opaque code you can search your internal log for it to find the associated log message and find more details about it.

    Syntax

    Unit: Sparkle.Middleware.Logging

    property TErrorResponseOptions.ErrorMessageFormat: string

    See also

    • TErrorResponseOptions
    In This Article
    Back to top TMS Sparkle v3.32
    © 2002 - 2025 tmssoftware.com