SPPAS 4.20

Module sppas.config

Class sppasOSError

Description

:ERROR 0500:.

Operating System error: {error}

Constructor

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

Public functions

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

Overloads

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