Enum bonsaidb_server::Error
source · pub enum Error {
WebSocket(Error),
Io(Error),
Request(Arc<dyn AnyError>),
Core(Error),
InternalCommunication,
Database(Error),
Certificate(Certificate),
Pem(PemError),
Acme(AcmeError),
AcmeOrder(OrderError),
TlsSigningError,
}
Expand description
An error occurred while interacting with a Server
.
Variants§
WebSocket(Error)
An error occurred from the Websocket transport layer.
Io(Error)
An error occurred from IO
Request(Arc<dyn AnyError>)
An error occurred while processing a request
Core(Error)
An error occurred from within the schema.
InternalCommunication
An internal error occurred while waiting for a message.
Database(Error)
An error occurred while interacting with a local database.
Certificate(Certificate)
An error occurred with a certificate.
Pem(PemError)
An error occurred parsing a PEM file.
Acme(AcmeError)
An error occurred requesting an ACME certificate.
AcmeOrder(OrderError)
An error occurred while processing an ACME order.
TlsSigningError
An error occurred during tls signing.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<E> From<Error> for BackendError<E>
impl<E> From<Error> for BackendError<E>
source§impl<E: ApiError> From<Error> for HandlerError<E>
impl<E: ApiError> From<Error> for HandlerError<E>
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more