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

    • Optional response: any

      The XMLHttpRequest object containing the response data.

    • Optional exception: any

      A JavaScript Error object caught by the calling code.

    • Optional showExceptionClass: any

      Flag to display the java class of the exception.

    • Optional msgPrefix: any

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

    Returns void

Generated using TypeDoc