Struct Agent RunError
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct AgentRunError {
pub code: String,
pub message: String,
pub retryable: bool,
pub extensions: BTreeMap<String, Value>,
}
Error reported by an adapter target.
Fields
code: String
Stable adapter error code.
message: String
Human-readable error message.
retryable: bool
Whether the adapter considers the failure safe for a consumer-level retry.
extensions: BTreeMap<String, Value>
Adapter-owned error fields.
Trait Implementations
impl Clone for AgentRunError
impl Clone for AgentRunError
clone
fn clone(&self) -> AgentRunError
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AgentRunError
impl Debug for AgentRunError
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for AgentRunError
impl<'de> Deserialize<'de> for AgentRunError
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for AgentRunError
impl JsonSchema for AgentRunError
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for AgentRunError
impl PartialEq for AgentRunError
eq
fn eq(&self, other: &AgentRunError) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AgentRunError
impl Serialize for AgentRunError
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for AgentRunError
impl StructuralPartialEq for AgentRunError