pub struct Errors {
pub auth_preflight_failed: u32,
pub provider_http_4xx: u32,
pub provider_http_5xx: u32,
pub tool_denied_by_policy: u32,
pub tool_timeout: u32,
pub network_error: u32,
}Expand description
Error counts for one session.
Every value is a count of a variant discriminant, never of an
err.to_string(). ToolError::PathEscape’s Display is an absolute path;
the secret store’s is the store’s absolute path; every LlmError variant
carries the raw provider HTTP body verbatim, and a 400 from a content filter
routinely echoes the prompt.
Fields§
§auth_preflight_failed: u32Credential preflight rejected the route.
provider_http_4xx: u32Provider responded 4xx.
provider_http_5xx: u32Provider responded 5xx.
tool_denied_by_policy: u32A tool call was denied by policy.
tool_timeout: u32A tool call timed out.
network_error: u32A request failed below HTTP — DNS, connect, TLS, or timeout.
Implementations§
Trait Implementations§
impl Copy for Errors
Source§impl<'de> Deserialize<'de> for Errors
impl<'de> Deserialize<'de> for Errors
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
impl Eq for Errors
impl StructuralPartialEq for Errors
Auto Trait Implementations§
impl Freeze for Errors
impl RefUnwindSafe for Errors
impl Send for Errors
impl Sync for Errors
impl Unpin for Errors
impl UnsafeUnpin for Errors
impl UnwindSafe for Errors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.