pub struct ExecutionErrorEventData {
pub prompt_id: String,
pub node_id: String,
pub node_type: String,
pub executed: Vec<String>,
pub exception_message: String,
pub exception_type: String,
pub traceback: Vec<String>,
pub current_inputs: HashMap<String, Value>,
pub current_outputs: HashMap<String, Value>,
}Expand description
Event payload for an execution error, containing details about the error and its context.
This structure is received when an error occurs during workflow execution. It provides comprehensive information about the error, including where it occurred and the state of inputs and outputs at the time of the error.
Fields§
§prompt_id: StringThe prompt ID associated with the error, identifying the workflow execution.
node_id: StringThe identifier of the node where the error occurred within the workflow.
node_type: StringThe type of the node where the error occurred (e.g., “CLIPTextEncode”, “KSampler”).
executed: Vec<String>A list of node identifiers that were successfully executed before the error occurred.
exception_message: StringThe error message from the exception, describing what went wrong.
exception_type: StringThe type of the exception that was raised (e.g., “ValueError”, “RuntimeError”).
traceback: Vec<String>A traceback of the error as a list of strings, showing the execution path that led to the error.
current_inputs: HashMap<String, Value>The current input values at the time of the error, mapping input names to their values.
current_outputs: HashMap<String, Value>The current output values at the time of the error, mapping output names to their values.
Trait Implementations§
Source§impl Clone for ExecutionErrorEventData
impl Clone for ExecutionErrorEventData
Source§fn clone(&self) -> ExecutionErrorEventData
fn clone(&self) -> ExecutionErrorEventData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more