Skip to content

Commit

Permalink
chore(event cache): remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Feb 26, 2025
1 parent 7dba05f commit f9f389d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions crates/matrix-sdk/src/event_cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,8 @@ pub enum EventCacheError {
)]
NotSubscribedYet,

/// The room hasn't been found in the client.
///
/// Technically, it's possible to request a [`RoomEventCache`] for a room
/// that is not known to the client, leading to this error.
#[error("Room {0} hasn't been found in the Client.")]
RoomNotFound(OwnedRoomId),

/// The given back-pagination token is unknown to the event cache.
#[error("The given back-pagination token is unknown to the event cache.")]
UnknownBackpaginationToken,

/// An error has been observed while back-paginating.
#[error("Error observed while back-paginating: {0}")]
#[error(transparent)]
BackpaginationError(#[from] PaginatorError),

/// Back-pagination was already happening in a given room, where we tried to
Expand Down

0 comments on commit f9f389d

Please sign in to comment.