SPPAS 4.22

https://sppas.org/

Module sppas.config

Class sppasError

Description

:ERROR 0001:.

The following error occurred: {message}.

Constructor

View Source
def __init__(self, message):
    self._status = 1
    self.parameter = error(self._status) + error(self._status, 'globals').format(message=message)

Public functions

get_status

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

Overloads

__str__

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