Enum hermod_api::handlers::ApplicationError [−][src]
pub enum ApplicationError {
AuthError(AuthenticationError),
UnexpectedError(Error),
NotFoundError(String),
}
Expand description
Error derived while handling an HTTP request
Variants
AuthError(AuthenticationError)
Tuple Fields of AuthError
UnexpectedError(Error)
Tuple Fields of UnexpectedError
0: Error
NotFoundError(String)
Tuple Fields of NotFoundError
0: String
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ApplicationError
impl Send for ApplicationError
impl Sync for ApplicationError
impl Unpin for ApplicationError
impl !UnwindSafe for ApplicationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more