@labkey/api
    Preparing search index...

    Variable displayAjaxErrorResponseConst

    displayAjaxErrorResponse: (
        response?: any,
        exception?: any,
        showExceptionClass?: any,
        msgPrefix?: any,
    ) => void = ...

    Shows an error dialog box to the user in response to an error from an AJAX request, including any error messages from the server.

    Type declaration

      • (
            response?: any,
            exception?: any,
            showExceptionClass?: any,
            msgPrefix?: any,
        ): void
      • Parameters

        • Optionalresponse: any

          The XMLHttpRequest object containing the response data.

        • Optionalexception: any

          A JavaScript Error object caught by the calling code.

        • OptionalshowExceptionClass: any

          Flag to display the java class of the exception.

        • OptionalmsgPrefix: any

          Prefix to the error message (defaults to: 'An error occurred trying to load:')

        Returns void