mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 15:33:45 -04:00
ui: Make public all timeline module errors
A few were missing in the public API like SendEventError and RedactEventError and their dependencies. This uses a wildcard because it should be rare to not want to expose an error type. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
committed by
Benjamin Bouvier
parent
fefdfd2e4b
commit
28d6401c4f
@@ -60,12 +60,7 @@ use ruma::{
|
||||
use thiserror::Error;
|
||||
use tracing::{error, instrument, trace, warn};
|
||||
|
||||
use self::{
|
||||
error::{RedactEventError, SendEventError},
|
||||
event_item::EventTimelineItemKind,
|
||||
futures::SendAttachment,
|
||||
util::rfind_event_item,
|
||||
};
|
||||
use self::{event_item::EventTimelineItemKind, futures::SendAttachment, util::rfind_event_item};
|
||||
|
||||
mod builder;
|
||||
mod day_dividers;
|
||||
@@ -90,7 +85,7 @@ mod virtual_item;
|
||||
|
||||
pub use self::{
|
||||
builder::TimelineBuilder,
|
||||
error::{Error, PaginationError, UnsupportedEditItem, UnsupportedReplyItem},
|
||||
error::*,
|
||||
event_item::{
|
||||
AnyOtherFullStateEventContent, BundledReactions, EncryptedMessage, EventItemOrigin,
|
||||
EventSendState, EventTimelineItem, InReplyToDetails, MemberProfileChange, MembershipChange,
|
||||
|
||||
Reference in New Issue
Block a user