pub enum AssistantError {
AuthenticationFailed,
BillingError,
RateLimit,
InvalidRequest,
ServerError,
Unknown,
}Expand description
Why Claude Code could not answer: it writes the reason as a synthetic assistant message.
Variants§
Trait Implementations§
Source§impl Clone for AssistantError
impl Clone for AssistantError
impl Copy for AssistantError
Source§impl Debug for AssistantError
impl Debug for AssistantError
Source§impl<'de> Deserialize<'de> for AssistantError
impl<'de> Deserialize<'de> for AssistantError
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 AssistantError
Source§impl PartialEq for AssistantError
impl PartialEq for AssistantError
impl StructuralPartialEq for AssistantError
Auto Trait Implementations§
impl Forget for AssistantError
impl Freeze for AssistantError
impl Move for AssistantError
impl RefUnwindSafe for AssistantError
impl Send for AssistantError
impl Sync for AssistantError
impl Unpin for AssistantError
impl UnsafeUnpin for AssistantError
impl UnwindSafe for AssistantError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.