mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 07:32:49 +02:00
Upload files to "src/core/error"
This commit is contained in:
parent
35eaefb801
commit
588404bf7d
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
mod err;
|
||||
mod enhanced;
|
||||
mod log;
|
||||
mod panic;
|
||||
mod response;
|
||||
|
@ -6,7 +7,7 @@ mod serde;
|
|||
|
||||
use std::{any::Any, borrow::Cow, convert::Infallible, sync::PoisonError};
|
||||
|
||||
pub use self::{err::visit, log::*};
|
||||
pub use self::{err::visit, enhanced::*, log::*};
|
||||
|
||||
#[derive(thiserror::Error)]
|
||||
pub enum Error {
|
||||
|
@ -110,8 +111,6 @@ pub enum Error {
|
|||
InconsistentRoomState(&'static str, ruma::OwnedRoomId),
|
||||
#[error(transparent)]
|
||||
IntoHttp(#[from] ruma::api::error::IntoHttpError),
|
||||
#[error("{0}")]
|
||||
Ldap(Cow<'static, str>),
|
||||
#[error(transparent)]
|
||||
Mxc(#[from] ruma::MxcUriError),
|
||||
#[error(transparent)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue