class RelocationBatchErrorEntry(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 RelocationError RelocationBatchErrorEntry.relocation_error: User errors that retry won't help. :ivar files.RelocationBatchErrorEntry.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.RelocationBatchErrorEntry.too_many_write_operations: There are too many write operations in user's Dropbox. Please retry this request.
Class Method | relocation |
Create an instance of this class set to the ``relocation_error`` tag with value ``val``. |
Method | get |
User errors that retry won't help. |
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 ``relocation_error``. |
Method | is |
Check if the union tag is ``too_many_write_operations``. |
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 ``relocation_error`` tag with value ``val``. :param RelocationError val: :rtype: RelocationBatchErrorEntry
User errors that retry won't help. Only call this if :meth:`is_relocation_error` is true. :rtype: RelocationError