azkaban_cli/azkaban.py
def __catch_response_status_error(self, exception, response_json):
        """ PRIVATE
        Verify error in response, catch response status.
        :raise: exception(error_msg), when error exists and status equals a error, with the 'error_msg'.
        """
        response_status = response_json.get('status')
        if response_status == u'error':
            error_msg = response_json[u'message']
            raise exception(error_msg)
 PRIVATE
        Verify error in response, catch response status.
        :raise: exception(error_msg), when error exists and status equals a error, with the 'error_msg'.
        
PRIVATE
Verify error in response, catch response status.
PRIVATE Verify error in response catch response status .
def __catch_response_status_error(self, exception, response_json):
        response_status = response_json.get('status')
        if response_status == u'error':
            error_msg = response_json[u'message']
            raise exception(error_msg)
def __catch_response_status_error ( self , exception , response_json ) : response_status = response_json . get ( 'status' ) if response_status == u'error' : error_msg = response_json [ u'message' ] raise exception ( error_msg )
PRIVATE
Verify error in response, catch response status.
PRIVATE Verify error in response catch response status .
""" PRIVATE
        Verify error in response, catch response status.
        :raise: exception(error_msg), when error exists and status equals a error, with the 'error_msg'.
        """
exception(error_msg), when error exists and status equals a error, with the 'error_msg'.
exception ( error_msg ) when error exists and status equals a error with the ' error_msg ' .
self
exception
response_json