pub enum NodeExecutorError {
TransportError(String),
Timeout {
node_id: String,
timeout_ms: u64,
},
RetryExhausted {
node_id: String,
attempts: u32,
last_error: String,
},
ServiceNotConnected(ServiceId),
InvalidResponse(String),
ExecutionFailed {
node_id: String,
message: String,
data: Option<Value>,
},
CallbackFailed {
node_id: String,
callback_type: String,
message: String,
},
RoutingError(NodeRouterError),
Internal(String),
}Expand description
Error type for node execution operations
Variants§
TransportError(String)
Transport error during execution
Timeout
Execution timeout
RetryExhausted
Retry exhausted
ServiceNotConnected(ServiceId)
Service not connected
InvalidResponse(String)
Invalid response
ExecutionFailed
Node execution failed
CallbackFailed
Callback failed
RoutingError(NodeRouterError)
Routing error
Internal(String)
Internal error
Trait Implementations§
Source§impl Debug for NodeExecutorError
impl Debug for NodeExecutorError
Source§impl Display for NodeExecutorError
impl Display for NodeExecutorError
Source§impl Error for NodeExecutorError
impl Error for NodeExecutorError
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()
Source§impl From<NodeRouterError> for NodeExecutorError
impl From<NodeRouterError> for NodeExecutorError
Source§fn from(source: NodeRouterError) -> Self
fn from(source: NodeRouterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeExecutorError
impl RefUnwindSafe for NodeExecutorError
impl Send for NodeExecutorError
impl Sync for NodeExecutorError
impl Unpin for NodeExecutorError
impl UnsafeUnpin for NodeExecutorError
impl UnwindSafe for NodeExecutorError
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