#[non_exhaustive]pub enum GraphServiceError {
PollError(BoxDynError),
MissingPreviousNode,
MissingFaninHandler,
MissingNextNode,
MissingIncomingTaskId,
MissingTaskIdResult(String),
InvalidFanInDependencyResult,
DependencyTaskFailed(BoxDynError),
Codec(BoxDynError),
}Expand description
Error encountered during execution
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PollError(BoxDynError)
Graph 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
Codec(BoxDynError)
An error related to codec operations.
Trait Implementations§
Source§impl Debug for GraphServiceError
impl Debug for GraphServiceError
Source§impl Display for GraphServiceError
impl Display for GraphServiceError
Source§impl Error for GraphServiceError
impl Error for GraphServiceError
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<GraphServiceError> for GraphFlowError
impl From<GraphServiceError> for GraphFlowError
Source§fn from(source: GraphServiceError) -> Self
fn from(source: GraphServiceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GraphServiceError
impl !UnwindSafe for GraphServiceError
impl Freeze for GraphServiceError
impl Send for GraphServiceError
impl Sync for GraphServiceError
impl Unpin for GraphServiceError
impl UnsafeUnpin for GraphServiceError
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