class documentation
class UpdatePropertiesError(InvalidPropertyGroupError): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class Method | property |
Create an instance of this class set to the ``property_group_lookup`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_property_group_lookup` is true. |
Method | is |
Check if the union tag is ``property_group_lookup``. |
Method | _process |
Undocumented |
Inherited from InvalidPropertyGroupError
:
Method | is |
Check if the union tag is ``does_not_fit_template``. |
Method | is |
Check if the union tag is ``duplicate_property_groups``. |
Method | is |
Check if the union tag is ``property_field_too_large``. |
Class Variable | does |
Undocumented |
Class Variable | duplicate |
Undocumented |
Class Variable | property |
Undocumented |
Inherited from PropertiesError
(via InvalidPropertyGroupError
):
Class Method | path |
Create an instance of this class set to the ``path`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_path` is true. |
Method | is |
Check if the union tag is ``path``. |
Method | is |
Check if the union tag is ``unsupported_folder``. |
Class Variable | unsupported |
Undocumented |
Inherited from TemplateError
(via InvalidPropertyGroupError
, PropertiesError
):
Class Method | template |
Create an instance of this class set to the ``template_not_found`` tag with value ``val``. |
Method | get |
Template does not exist for the given identifier. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``restricted_content``. |
Method | is |
Check if the union tag is ``template_not_found``. |
Class Variable | other |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``property_group_lookup`` tag with value ``val``. :param LookUpPropertiesError val: :rtype: UpdatePropertiesError