class documentation
class AddTagError(BaseTagError): (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. :ivar files.AddTagError.too_many_tags: The item already has the maximum supported number of tags.
Method | is |
Check if the union tag is ``too_many_tags``. |
Class Variable | too |
Undocumented |
Method | _process |
Undocumented |
Inherited from BaseTagError
:
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 ``other``. |
Method | is |
Check if the union tag is ``path``. |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |