pub enum CloudError {
OpenAI(OpenAIError),
Claude(ClaudeError),
Gemini(GeminiError),
Copilot(CopilotError),
}Expand description
Error type for cloud provider operations.
Variants§
OpenAI(OpenAIError)
OpenAI API error.
Claude(ClaudeError)
Claude API error.
Gemini(GeminiError)
Gemini API error.
Copilot(CopilotError)
GitHub Copilot API error.
Trait Implementations§
Source§impl Debug for CloudError
impl Debug for CloudError
Source§impl Display for CloudError
impl Display for CloudError
Source§impl Error for CloudError
impl Error for CloudError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ClaudeError> for CloudError
impl From<ClaudeError> for CloudError
Source§fn from(source: ClaudeError) -> Self
fn from(source: ClaudeError) -> Self
Converts to this type from the input type.
Source§impl From<CopilotError> for CloudError
impl From<CopilotError> for CloudError
Source§fn from(source: CopilotError) -> Self
fn from(source: CopilotError) -> Self
Converts to this type from the input type.
Source§impl From<GeminiError> for CloudError
impl From<GeminiError> for CloudError
Source§fn from(source: GeminiError) -> Self
fn from(source: GeminiError) -> Self
Converts to this type from the input type.
Source§impl From<OpenAIError> for CloudError
impl From<OpenAIError> for CloudError
Source§fn from(source: OpenAIError) -> Self
fn from(source: OpenAIError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CloudError
impl !UnwindSafe for CloudError
impl Freeze for CloudError
impl Send for CloudError
impl Sync for CloudError
impl Unpin for CloudError
impl UnsafeUnpin for CloudError
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