<filename>frscommon/frs_exception.py
# -*- coding: utf-8 -*-

class FrsException(Exception):
    def __init__(self, http_status_code, msg):
        super(Exception, self).__init__("{\"http_code\": %s, \"msg\": \"%s\"}" % (http_status_code, msg))

<filename>frscommon/frs_exception.py
# -*- coding: utf-8 -*-

class FrsException(Exception):
    def __init__(self, http_status_code, msg):
        super(Exception, self).__init__("{\"http_code\": %s, \"msg\": \"%s\"}" % (http_status_code, msg))

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