syncopy.shared.errors.SPYValueError

exception syncopy.shared.errors.SPYValueError(legal, varname='', actual='')[source]

SynCoPy-specific version of a ValueError

legal

Valid value(s) of object

Type

str

varname

Name of variable in question

Type

str

actual

Actual value of object

Type

str

__init__(legal, varname='', actual='')[source]

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.