SPPAS 4.22

https://sppas.org/

Module sppas.config

Class sppasTypeError

Description

:ERROR 0100:.

{!s:s} is not of the expected type '{:s}'.

Constructor

View Source
def __init__(self, rtype, expected):
    self._status = 100
    self.parameter = error(self._status) + error(self._status, 'globals').format(rtype, expected)

Public functions

get_status

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

Overloads

__str__

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