class MountFolderError(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.MountFolderError.inside_shared_folder: Mounting would cause a shared folder to be inside another, which is disallowed. :ivar InsufficientQuotaAmounts MountFolderError.insufficient_quota: The current user does not have enough space to mount the shared folder. :ivar sharing.MountFolderError.already_mounted: The shared folder is already mounted. :ivar sharing.MountFolderError.no_permission: The current user does not have permission to perform this action. :ivar sharing.MountFolderError.not_mountable: The shared folder is not mountable. One example where this can occur is when the shared folder belongs within a team folder in the user's Dropbox.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | insufficient |
Create an instance of this class set to the ``insufficient_quota`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
The current user does not have enough space to mount the shared folder. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``already_mounted``. |
Method | is |
Check if the union tag is ``inside_shared_folder``. |
Method | is |
Check if the union tag is ``insufficient_quota``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``not_mountable``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | already |
Undocumented |
Class Variable | inside |
Undocumented |
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: MountFolderError
Create an instance of this class set to the ``insufficient_quota`` tag with value ``val``. :param InsufficientQuotaAmounts val: :rtype: MountFolderError
The current user does not have enough space to mount the shared folder. Only call this if :meth:`is_insufficient_quota` is true. :rtype: InsufficientQuotaAmounts