def __init__(self, **kwargs):
    super(Error, self).__init__(**kwargs)
    self.code = kwargs.get('code', 'None')
    self.sub_code = None
    self.message = kwargs['message']
    self.more_details = None
    self.parameter = None
    self.value = None
def __init__(self, **kwargs):
    super(Error, self).__init__(**kwargs)
    self.code = kwargs.get('code', 'None')
    self.sub_code = None
    self.message = kwargs['message']
    self.more_details = None
    self.parameter = None
    self.value = None