Skip to content

Commit 52fa00e

Browse files
committed
sdk: remove Error::InconsistentState as it was unused
1 parent 17d1832 commit 52fa00e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

crates/matrix-sdk/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Breaking changes:
1717
- `AttachmentConfig::generate_thumbnail` takes a `ThumbnailFormat`.
1818
- The `HttpError::UnableToCloneRequest` error variant has been removed because it was never used or
1919
generated by the SDK.
20+
- The `Error::InconsistentState` error variant has been removed because it was never used or
21+
generated by the SDK.
2022

2123
Additions:
2224

crates/matrix-sdk/src/error.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,6 @@ pub enum Error {
302302
#[error("wrong room state: {0}")]
303303
WrongRoomState(WrongRoomState),
304304

305-
/// The client is in inconsistent state. This happens when we set a room to
306-
/// a specific type, but then cannot get it in this type.
307-
#[error("The internal client state is inconsistent.")]
308-
InconsistentState,
309-
310305
/// Session callbacks have been set multiple times.
311306
#[error("session callbacks have been set multiple times")]
312307
MultipleSessionCallbacks,

0 commit comments

Comments
 (0)