pub enum DagServiceError {
PollError(BoxDynError),
MissingPreviousNode,
MissingFaninHandler,
MissingNextNode,
MissingIncomingTaskId,
MissingTaskIdResult(String),
InvalidFanInDependencyResult,
DependencyTaskFailed(BoxDynError),
}Expand description
Error encountered by Service Error
Variants§
PollError(BoxDynError)
DAG service poll error.
MissingPreviousNode
Missing previous node
MissingFaninHandler
Missing Fanin Handler
MissingNextNode
Missing next node
MissingIncomingTaskId
Missing TaskId for incoming node
MissingTaskIdResult(String)
Missing result for TaskId
InvalidFanInDependencyResult
Dependency task returned invalid response, which is unexpected during fan-in
DependencyTaskFailed(BoxDynError)
Dependency task failed
Trait Implementations§
Source§impl Debug for DagServiceError
impl Debug for DagServiceError
Source§impl Display for DagServiceError
impl Display for DagServiceError
Source§impl Error for DagServiceError
impl Error for DagServiceError
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<DagServiceError> for DagFlowError
impl From<DagServiceError> for DagFlowError
Source§fn from(source: DagServiceError) -> Self
fn from(source: DagServiceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DagServiceError
impl !RefUnwindSafe for DagServiceError
impl Send for DagServiceError
impl Sync for DagServiceError
impl Unpin for DagServiceError
impl UnsafeUnpin for DagServiceError
impl !UnwindSafe for DagServiceError
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