azure-servicemanagement-legacy/azure/servicemanagement/_common_error.py
def _general_error_handler(http_error):
    ''' Simple error handler for azure.'''
    message = str(http_error)
    if http_error.respbody is not None:
        message += '\n' + http_error.respbody.decode('utf-8-sig')
    raise AzureHttpError(message, http_error.status)
def _general_error_handler(http_error):
    ''' Simple error handler for azure.'''
    message = str(http_error)
    if http_error.respbody is not None:
        message += '\n' + http_error.respbody.decode('utf-8-sig')
    raise AzureHttpError(message, http_error.status)
def _general_error_handler ( http_error ) : message = str ( http_error ) if http_error . respbody is not None : message += '\n' + http_error . respbody . decode ( 'utf-8-sig' ) raise AzureHttpError ( message , http_error . status )
Simple error handler for azure.
Simple error handler for azure .