sdk: get rid of the UnableToCloneRequest error which is absolutely unused

This commit is contained in:
Benjamin Bouvier
2024-06-13 17:07:44 +02:00
parent 6ecefd6bc7
commit 08d7bd0cee
2 changed files with 2 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ Breaking changes:
- It is now possible to select the format of a generated thumbnail.
- `generate_image_thumbnail` takes a `ThumbnailFormat`.
- `AttachmentConfig::generate_thumbnail` takes a `ThumbnailFormat`.
- The `HttpError::UnableToCloneRequest` error variant has been removed because it was never used or
generated by the SDK.
Additions:

View File

@@ -105,10 +105,6 @@ pub enum HttpError {
#[error(transparent)]
IntoHttp(#[from] IntoHttpError),
/// The given request can't be cloned and thus can't be retried.
#[error("The request cannot be cloned")]
UnableToCloneRequest,
/// An error occurred while refreshing the access token.
#[error(transparent)]
RefreshToken(#[from] RefreshTokenError),