sppas 5.1.0

https://sppas.org/

Module sppas.core.coreutils

Class NegativeValueError

Description

:ERROR 0310:.

Expected a positive value. Got {value}.

Constructor

__init__

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)