<filename>fake_agent/fake_agent/errors.py<gh_stars>0
# -*- coding: utf-8 -*-


class CryptoException(Exception):
    pass


class ApiException(Exception):
    def __init__(self, message: str, code: int):
        self.code = code
        super(ApiException, self).__init__(message)


class AgentException(Exception):
    pass

<filename>fake_agent/fake_agent/errors.py<gh_stars>0
# -*- coding: utf-8 -*-


class CryptoException(Exception):
    pass


class ApiException(Exception):
    def __init__(self, message: str, code: int):
        self.code = code
        super(ApiException, self).__init__(message)


class AgentException(Exception):
    pass

# -*- coding: utf-8 -*-