pub struct ExecutionErrorEvent {
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.
Fields§
§prompt_id: StringThe prompt ID associated with the error.
node_id: StringThe identifier of the node where the error occurred.
node_type: StringThe type of the node where the error occurred.
executed: Vec<String>A list of node identifiers that were executed before the error.
exception_message: StringThe error message from the exception.
exception_type: StringThe type of the exception.
traceback: Vec<String>A traceback of the error as a list of strings.
current_inputs: HashMap<String, Value>The current input values at the time of the error.
current_outputs: HashMap<String, Value>The current output values at the time of the error.
Trait Implementations§
Source§impl Debug for ExecutionErrorEvent
impl Debug for ExecutionErrorEvent
Source§impl<'de> Deserialize<'de> for ExecutionErrorEvent
impl<'de> Deserialize<'de> for ExecutionErrorEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionErrorEvent
impl RefUnwindSafe for ExecutionErrorEvent
impl Send for ExecutionErrorEvent
impl Sync for ExecutionErrorEvent
impl Unpin for ExecutionErrorEvent
impl UnwindSafe for ExecutionErrorEvent
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