class documentation
class DownloadZipError(bb.Union): (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.DownloadZipError.too_large: The folder or a file is too large to download. :ivar files.DownloadZipError.too_many_files: The folder has too many files to download.
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``. |
Method | is |
Check if the union tag is ``too_large``. |
Method | is |
Check if the union tag is ``too_many_files``. |
Class Variable | other |
Undocumented |
Class Variable | too |
Undocumented |
Class Variable | too |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |