#[non_exhaustive]pub enum ExecutorError {
Iceoryx2(String),
InvalidGraph(String),
DeclareTriggers(String),
Item {
task_id: TaskId,
source: ItemError,
},
AlreadyRunning,
RunnerJoin,
Builder(String),
TaskNotFound(TaskId),
TaskNotFaulted(TaskId),
ExecutorNotFaulted,
}Expand description
Top-level error type for the executor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Iceoryx2(String)
An iceoryx2 operation failed. The original error is rendered with
{} because iceoryx2’s error types do not collapse into a single
From source.
InvalidGraph(String)
Graph validation failed at build() time.
DeclareTriggers(String)
An item’s declare_triggers call returned an error or the executor
rejected it (e.g. a duplicate subscriber attachment).
Item
An item returned Err(...) or panicked. The original error is wrapped.
Fields
AlreadyRunning
Executor::run was called while the executor was already running.
RunnerJoin
The runner thread panicked or could not be joined.
Builder(String)
Builder API used incorrectly (e.g. missing required field).
TaskNotFound(TaskId)
The requested task id is not registered with this executor.
TaskNotFaulted(TaskId)
A clear_task_fault call targeted a task that was already Running.
REQ_0070.
ExecutorNotFaulted
A clear_executor_fault call was made while the executor was already
Running. REQ_0071.
Implementations§
Trait Implementations§
Source§impl Debug for ExecutorError
impl Debug for ExecutorError
Source§impl Display for ExecutorError
impl Display for ExecutorError
Source§impl Error for ExecutorError
impl Error for ExecutorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()