pub struct LlmError {
pub provider: String,
pub status: u16,
pub message: String,
}Expand description
Provider-specific error information.
Fields§
§provider: StringName of the provider that produced the error.
status: u16HTTP status code, or 0 for non-HTTP failures.
message: StringHuman-readable error description.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LlmError
impl RefUnwindSafe for LlmError
impl Send for LlmError
impl Sync for LlmError
impl Unpin for LlmError
impl UnsafeUnpin for LlmError
impl UnwindSafe for LlmError
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