class documentation
class UnmountFolderError(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 sharing.UnmountFolderError.no_permission: The current user does not have permission to perform this action. :ivar sharing.UnmountFolderError.not_unmountable: The shared folder can't be unmounted. One example where this can occur is when the shared folder's parent folder is also a shared folder that resides in the current user's Dropbox.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``not_unmountable``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | no |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharedFolderAccessError val: :rtype: UnmountFolderError