OpenQuizz
Une application de gestion des contenus pédagogiques
CheckedValueTypeError Class Reference
Inheritance diagram for CheckedValueTypeError:
Collaboration diagram for CheckedValueTypeError:

Additional Inherited Members

- Public Member Functions inherited from CheckedTypeError
def __init__ (self, source_class, expected_types, actual_type, actual_value, *args, **kwargs)
 
- Data Fields inherited from CheckedTypeError
 source_class
 
 expected_types
 
 actual_type
 
 actual_value
 

Detailed Description

Raised when trying to set a value using a key with a type that doesn't match the declared type.

Attributes:
source_class -- The class of the collection
expected_types  -- Allowed types
actual_type -- The non matching type
actual_value -- Value of the variable with the non matching type

The documentation for this class was generated from the following file: