# Class e.c.u.s.WrongArgument(Exception):

Part of elisa.core.utils.signal View In Hierarchy

Exception raised by Signal when the developer tries to emit wrong types values with the Signal.

Instance Variables | arg | the value of the wrongly typed object (type: object )
| expected_type | the expcected type for the argument, given at Signal creation
| position | position of the argument in the arguments list, if it's not a keyword argument (type: int or None )

Line # | Kind | Name | Docs
--- | --- | --- | ---
37 | Method | __init__ | Undocumented
43 | Method | __str__ | Textual representation of the Exception

def __init__(self, arg, expected_type, position):
Undocumented
def __str__(self):
Textual representation of the Exception

Returns | (type: string )