dropbox.exceptions
– Exceptions
- exception dropbox.exceptions.ApiError(request_id, error, user_message_text, user_message_locale)
Bases:
DropboxException
Errors produced by the Dropbox API.
- __init__(request_id, error, user_message_text, user_message_locale)
- Parameters:
request_id ((str)) – A request_id can be shared with Dropbox Support to pinpoint the exact request that returns an error.
error – An instance of the error data type for the route.
user_message_text ((str)) – A human-readable message that can be displayed to the end user. Is None, if unavailable.
user_message_locale ((str)) – The locale of
user_message_text
, if present.
- exception dropbox.exceptions.AuthError(request_id, error)
Bases:
HttpError
Errors due to invalid authentication credentials.
- __init__(request_id, error)
- exception dropbox.exceptions.BadInputError(request_id, message)
Bases:
HttpError
Errors due to bad input parameters to an API Operation.
- __init__(request_id, message)
- exception dropbox.exceptions.DropboxException(request_id, *args, **kwargs)
Bases:
Exception
All errors related to making an API request extend this.
- __init__(request_id, *args, **kwargs)
- exception dropbox.exceptions.HttpError(request_id, status_code, body)
Bases:
DropboxException
Errors produced at the HTTP layer.
- __init__(request_id, status_code, body)
- exception dropbox.exceptions.InternalServerError(request_id, status_code, body)
Bases:
HttpError
Errors due to a problem on Dropbox.