mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 19:42:50 +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 err;
|
||||||
|
mod enhanced;
|
||||||
mod log;
|
mod log;
|
||||||
mod panic;
|
mod panic;
|
||||||
mod response;
|
mod response;
|
||||||
|
@ -6,7 +7,7 @@ mod serde;
|
||||||
|
|
||||||
use std::{any::Any, borrow::Cow, convert::Infallible, sync::PoisonError};
|
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)]
|
#[derive(thiserror::Error)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
|
@ -110,8 +111,6 @@ pub enum Error {
|
||||||
InconsistentRoomState(&'static str, ruma::OwnedRoomId),
|
InconsistentRoomState(&'static str, ruma::OwnedRoomId),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
IntoHttp(#[from] ruma::api::error::IntoHttpError),
|
IntoHttp(#[from] ruma::api::error::IntoHttpError),
|
||||||
#[error("{0}")]
|
|
||||||
Ldap(Cow<'static, str>),
|
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
Mxc(#[from] ruma::MxcUriError),
|
Mxc(#[from] ruma::MxcUriError),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue