class TemplateError(bb.Union): (source)
Known subclasses: dropbox.file_properties.ModifyTemplateError
, dropbox.file_properties.PropertiesError
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. :ivar str file_properties.TemplateError.template_not_found: Template does not exist for the given identifier. :ivar file_properties.TemplateError.restricted_content: You do not have permission to modify this template.
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 |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``template_not_found`` tag with value ``val``. :param str val: :rtype: TemplateError
Template does not exist for the given identifier. Only call this if :meth:`is_template_not_found` is true. :rtype: str