:ERROR 0400:.
Invalid key '{!s:s}' for data '{!s:s}'.
:ERROR 0400:.
Invalid key '{!s:s}' for data '{!s:s}'.
def __init__(self, data_name, value):
self._status = 400
self.parameter = error(self._status) + error(self._status, 'globals').format(value, data_name)
def get_status(self):
return self._status
def __str__(self):
return repr(self.parameter)