@property
    def json_rpc_format(self):

        error = {
            'name': smart_text(self.__class__.__name__),
            'code': self.code,
            'message': "%s: %s" %
            (smart_text(self.__class__.__name__), smart_text(self.message)),
            'data': self.data
        }

        from django.conf import settings

        if settings.DEBUG:
            import sys, traceback
            error['stack'] = traceback.format_exc()
            error['executable'] = sys.executable

        return error

# Exceptions
# from http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal

# The error-codes -32768 .. -32000 (inclusive) are reserved for pre-defined errors.
# Any error-code within this range not defined explicitly below is reserved for future use
version number test
dataset/ETHPy150Open samuraisam/django-json-rpc/jsonrpc/exceptions.py/Error.json_rpc_format--crossover with--dataset/ETHPy150Open Jintin/andle/andle/tests/__init__.py/TestAndle.test_version