exception documentation
class WrongTypeError(Exception): (source)
Constructor: WrongTypeError(name, exp_type, received)
Exception raised when an option has an unexpected type.
This exception is raised by the option extraction functions when an option value does not match the expected type.
| Parameters | |
| name | The name of the option that had the wrong type. |
| exp | The expected type for the option value. |
| received | The actual value received. |
| Method | __init__ |
Undocumented |