SPPAS 4.22

https://sppas.org/

Module sppas.config

Class sppasKeyError

Description

:ERROR 0400:.

Invalid key '{!s:s}' for data '{!s:s}'.

Constructor

View Source
def __init__(self, data_name, value):
    self._status = 400
    self.parameter = error(self._status) + error(self._status, 'globals').format(value, data_name)

Public functions

get_status

View Source
def get_status(self):
    return self._status

Overloads

__str__

View Source
def __str__(self):
    return repr(self.parameter)