pub struct ClientError {
pub message: String,
pub exit_code: i32,
pub cancelled: bool,
pub details: Option<Value>,
}Expand description
A failed exchange with Formal AI and the exit status it maps to.
Fields§
§message: String§exit_code: i32§cancelled: bool§details: Option<Value>Sanitized, bounded diagnostics (HTTP status, error type and message, body preview, attempts) the evidence keeps (issue #257).
Implementations§
Trait Implementations§
Source§impl Clone for ClientError
impl Clone for ClientError
Source§impl Debug for ClientError
impl Debug for ClientError
Source§impl PartialEq for ClientError
impl PartialEq for ClientError
impl StructuralPartialEq for ClientError
Auto Trait Implementations§
impl Freeze for ClientError
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnsafeUnpin for ClientError
impl UnwindSafe for ClientError
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