pub enum ToolProviderError {
ToolNotFound(String),
ServiceNotFound(String),
ConnectionFailed {
service: String,
message: String,
},
ExecutionFailed(String),
AuthorizationFailed(String),
ConfigurationError {
message: String,
},
Config {
message: String,
source: Box<dyn Error + Sync + Send>,
},
Internal(String),
}Variants§
ToolNotFound(String)
ServiceNotFound(String)
ConnectionFailed
ExecutionFailed(String)
AuthorizationFailed(String)
ConfigurationError
Config
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
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ToolProviderError
impl !UnwindSafe for ToolProviderError
impl Freeze for ToolProviderError
impl Send for ToolProviderError
impl Sync for ToolProviderError
impl Unpin for ToolProviderError
impl UnsafeUnpin 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