pub enum GatewayError {
ServiceNotFound(String),
ServiceLimitExceeded(u32),
RegistrationFailed(String),
RoutingFailed(String),
ExecutionFailed(String),
CallbackFailed(String),
Internal(String),
}Expand description
Gateway error
Variants§
ServiceNotFound(String)
Service not found
ServiceLimitExceeded(u32)
Service limit exceeded
RegistrationFailed(String)
Registration failed
RoutingFailed(String)
Routing failed
ExecutionFailed(String)
Execution failed
CallbackFailed(String)
Callback failed
Internal(String)
Internal error
Trait Implementations§
Source§impl Debug for GatewayError
impl Debug for GatewayError
Source§impl Display for GatewayError
impl Display for GatewayError
Source§impl Error for GatewayError
impl Error for GatewayError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for GatewayError
impl RefUnwindSafe for GatewayError
impl Send for GatewayError
impl Sync for GatewayError
impl Unpin for GatewayError
impl UnsafeUnpin for GatewayError
impl UnwindSafe for GatewayError
Blanket Implementations§
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