Function displayAjaxErrorResponse

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

  • 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