class RelocationError(bb.Union): (source)
Known subclasses: dropbox.files.RelocationBatchError
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.RelocationError.cant_copy_shared_folder: Shared folders can't be copied. :ivar files.RelocationError.cant_nest_shared_folder: Your move operation would result in nested shared folders. This is not allowed. :ivar files.RelocationError.cant_move_folder_into_itself: You cannot move a folder into itself. :ivar files.RelocationError.too_many_files: The operation would involve more than 10,000 files and folders. :ivar files.RelocationError.duplicated_or_nested_paths: There are duplicated/nested paths among ``RelocationArg.from_path`` and ``RelocationArg.to_path``. :ivar files.RelocationError.cant_transfer_ownership: Your move operation would result in an ownership transfer. You may reissue the request with the field ``RelocationArg.allow_ownership_transfer`` to true. :ivar files.RelocationError.insufficient_quota: The current user does not have enough space to move or copy the files. :ivar files.RelocationError.internal_error: Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely. :ivar files.RelocationError.cant_move_shared_folder: Can't move the shared folder to the given destination. :ivar MoveIntoVaultError RelocationError.cant_move_into_vault: Some content cannot be moved into Vault under certain circumstances, see detailed error. :ivar MoveIntoFamilyError RelocationError.cant_move_into_family: Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error.
Class Method | cant |
Create an instance of this class set to the ``cant_move_into_family`` tag with value ``val``. |
Class Method | cant |
Create an instance of this class set to the ``cant_move_into_vault`` tag with value ``val``. |
Class Method | from |
Create an instance of this class set to the ``from_lookup`` tag with value ``val``. |
Class Method | from |
Create an instance of this class set to the ``from_write`` tag with value ``val``. |
Class Method | to |
Create an instance of this class set to the ``to`` tag with value ``val``. |
Method | get |
Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error. |
Method | get |
Some content cannot be moved into Vault under certain circumstances, see detailed error. |
Method | get |
Only call this if :meth:`is_from_lookup` is true. |
Method | get |
Only call this if :meth:`is_from_write` is true. |
Method | get |
Only call this if :meth:`is_to` is true. |
Method | is |
Check if the union tag is ``cant_copy_shared_folder``. |
Method | is |
Check if the union tag is ``cant_move_folder_into_itself``. |
Method | is |
Check if the union tag is ``cant_move_into_family``. |
Method | is |
Check if the union tag is ``cant_move_into_vault``. |
Method | is |
Check if the union tag is ``cant_move_shared_folder``. |
Method | is |
Check if the union tag is ``cant_nest_shared_folder``. |
Method | is |
Check if the union tag is ``cant_transfer_ownership``. |
Method | is |
Check if the union tag is ``duplicated_or_nested_paths``. |
Method | is |
Check if the union tag is ``from_lookup``. |
Method | is |
Check if the union tag is ``from_write``. |
Method | is |
Check if the union tag is ``insufficient_quota``. |
Method | is |
Check if the union tag is ``internal_error``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``to``. |
Method | is |
Check if the union tag is ``too_many_files``. |
Class Variable | cant |
Undocumented |
Class Variable | cant |
Undocumented |
Class Variable | cant |
Undocumented |
Class Variable | cant |
Undocumented |
Class Variable | cant |
Undocumented |
Class Variable | duplicated |
Undocumented |
Class Variable | insufficient |
Undocumented |
Class Variable | internal |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | too |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``cant_move_into_family`` tag with value ``val``. :param MoveIntoFamilyError val: :rtype: RelocationError
Create an instance of this class set to the ``cant_move_into_vault`` tag with value ``val``. :param MoveIntoVaultError val: :rtype: RelocationError
Create an instance of this class set to the ``from_lookup`` tag with value ``val``. :param LookupError val: :rtype: RelocationError
Create an instance of this class set to the ``from_write`` tag with value ``val``. :param WriteError val: :rtype: RelocationError
Create an instance of this class set to the ``to`` tag with value ``val``. :param WriteError val: :rtype: RelocationError
Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error. Only call this if :meth:`is_cant_move_into_family` is true. :rtype: MoveIntoFamilyError
Some content cannot be moved into Vault under certain circumstances, see detailed error. Only call this if :meth:`is_cant_move_into_vault` is true. :rtype: MoveIntoVaultError