pub enum GatewayError {
ServiceError {
service: String,
method: String,
error: String,
code: Option<String>,
details: Option<Value>,
},
ServiceNotFound(String),
RabbitMeshError(RabbitMeshError),
}Expand description
Gateway-specific errors
Variants§
Trait Implementations§
Source§impl Debug for GatewayError
impl Debug for GatewayError
Source§impl From<RabbitMeshError> for GatewayError
impl From<RabbitMeshError> for GatewayError
Source§fn from(err: RabbitMeshError) -> Self
fn from(err: RabbitMeshError) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for GatewayError
impl IntoResponse for GatewayError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for GatewayError
impl !RefUnwindSafe for GatewayError
impl Send for GatewayError
impl Sync for GatewayError
impl Unpin for GatewayError
impl !UnwindSafe for GatewayError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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