SPPAS 4.22

https://sppas.org/

Module sppas.config

Class NegativeValueError

Description

:ERROR 0310:.

Expected a positive value. Got {value}.

Constructor

View Source
def __init__(self, value):
    super(NegativeValueError, self).__init__('', 0)
    self._status = 310
    self.parameter = error(self._status) + error(self._status, 'globals').format(value=value)