def METHOD_NAME(self):
    import traceback
    from azure.cli.core.azclierror import AzureConnectionError, AzureResponseError
    try:
        super().METHOD_NAME()
    except requests.exceptions.ConnectionError as err:
        logger.debug('throw requests.exceptions.ConnectionError when doing MSIAuthentication: \n%s',
                     traceback.format_exc())
        raise AzureConnectionError('Failed to connect to MSI. Please make sure MSI is configured correctly '
                                   'and check the network connection.\nError detail: {}'.format(str(err)))
    except requests.exceptions.HTTPError as err:
        logger.debug('throw requests.exceptions.HTTPError when doing MSIAuthentication: \n%s',
                     traceback.format_exc())
        try:
            raise AzureResponseError('Failed to connect to MSI. Please make sure MSI is configured correctly.\n'
                                     'Get Token request returned http error: {}, reason: {}'
                                     .format(err.response.status, err.response.reason))
        except AttributeError:
            raise AzureResponseError('Failed to connect to MSI. Please make sure MSI is configured correctly.\n'
                                     'Get Token request returned: {}'.format(err.response))
    except TimeoutError as err:
        logger.debug('throw TimeoutError when doing MSIAuthentication: \n%s',
                     traceback.format_exc())
        raise AzureConnectionError('MSI endpoint is not responding. Please make sure MSI is configured correctly.\n'
                                   'Error detail: {}'.format(str(err)))