class AgentCritical(Exception):
    """Use this class only for non-recoverable errors.

     The exception is handled in the main loop
      - logging the error with [CRITICAL] severity
      - stopping agent closing all descriptors
    """

    def __init__(self, msg=''):
        self.msg = msg

    def __str__(self):
        return repr(self.msg)

b2074b14082536654c34df096b8b06b63e800057
class AgentCritical(Exception):
    <mask token>
    <mask token>
    <mask token>

class AgentCritical(Exception):
    <mask token>
    <mask token>

    def __str__(self):
        return repr(self.msg)

class AgentCritical(Exception):
    <mask token>

    def __init__(self, msg=''):
        self.msg = msg

    def __str__(self):
        return repr(self.msg)

class AgentCritical(Exception):
    """Use this class only for non-recoverable errors.

     The exception is handled in the main loop
      - logging the error with [CRITICAL] severity
      - stopping agent closing all descriptors
    """

    def __init__(self, msg=''):
        self.msg = msg

    def __str__(self):
        return repr(self.msg)
