pub enum DagExecutorError {
Task(TaskError),
Storage(StorageError),
Validation(ValidationError),
Executor(String),
Other(Error),
}Expand description
Top-level error type returned by the executor.
Variants§
Task(TaskError)
A task-level error bubbled up.
Storage(StorageError)
A storage-level error bubbled up.
Validation(ValidationError)
A validation error bubbled up.
Executor(String)
A failure in the executor’s own machinery.
Other(Error)
Any other error.
Trait Implementations§
Source§impl Debug for DagExecutorError
impl Debug for DagExecutorError
Source§impl Display for DagExecutorError
impl Display for DagExecutorError
Source§impl Error for DagExecutorError
impl Error for DagExecutorError
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<Error> for DagExecutorError
impl From<Error> for DagExecutorError
Source§impl From<StorageError> for DagExecutorError
impl From<StorageError> for DagExecutorError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<TaskError> for DagExecutorError
impl From<TaskError> for DagExecutorError
Source§impl From<ValidationError> for DagExecutorError
impl From<ValidationError> for DagExecutorError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DagExecutorError
impl !UnwindSafe for DagExecutorError
impl Freeze for DagExecutorError
impl Send for DagExecutorError
impl Sync for DagExecutorError
impl Unpin for DagExecutorError
impl UnsafeUnpin for DagExecutorError
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