# Path: ricloud/utils.py
# def encode_json(data, indent=None):
#     return json.dumps(data, indent=indent, cls=DataEncoder, ensure_ascii=False)
# 
# def decode_json(data):
#     return json.loads(data, object_pairs_hook=OrderedDict)


from ricloud.utils import encode_json, decode_json
from __future__ import absolute_import



class RicloudError(Exception):
    def __init__(self, status, content):
        self.status = status

# Path: ricloud/utils.py
# def encode_json(data, indent=None):
#     return json.dumps(data, indent=indent, cls=DataEncoder, ensure_ascii=False)
# 
# def decode_json(data):
#     return json.loads(data, object_pairs_hook=OrderedDict)


# Path: ricloud/exceptions.py
from ricloud.utils import encode_json, decode_json

from __future__ import absolute_import



class RicloudError(Exception):
    def __init__(self, status, content):
        self.status = status

        self.content = content