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)

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 .