pub enum ToolProviderError {
ToolNotFound(String),
ServiceNotFound(String),
ConnectionFailed {
service: String,
message: String,
},
ExecutionFailed(String),
AuthorizationFailed(String),
ConfigurationError(String),
Internal(String),
}Variants§
ToolNotFound(String)
ServiceNotFound(String)
ConnectionFailed
ExecutionFailed(String)
AuthorizationFailed(String)
ConfigurationError(String)
Internal(String)
Trait Implementations§
Source§impl Debug for ToolProviderError
impl Debug for ToolProviderError
Source§impl Display for ToolProviderError
impl Display for ToolProviderError
Source§impl Error for ToolProviderError
impl Error for ToolProviderError
1.30.0 · 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<Error> for ToolProviderError
impl From<Error> for ToolProviderError
Source§fn from(err: Error) -> ToolProviderError
fn from(err: Error) -> ToolProviderError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ToolProviderError
impl RefUnwindSafe for ToolProviderError
impl Send for ToolProviderError
impl Sync for ToolProviderError
impl Unpin for ToolProviderError
impl UnwindSafe for ToolProviderError
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