pub enum KowalskiError {
Show 42 variants
ToolExecution(String),
Configuration(String),
Network(String),
ContentProcessing(String),
ToolInvalidInput(String),
NotFound(String),
PermissionDenied(String),
Agent(String),
Task(String),
Io(Error),
Json(Error),
Url(ParseError),
Config(ConfigError),
TemplateAgent(String),
WebAgent(String),
AcademicAgent(String),
ToolChain(String),
TaskHandler(String),
Validation(String),
Authentication(String),
Authorization(String),
RateLimit(String),
Timeout(String),
Connection(String),
Serialization(String),
Deserialization(String),
Database(String),
Cache(String),
FileSystem(String),
Memory(String),
Resource(String),
State(String),
Initialization(String),
Shutdown(String),
Recovery(String),
Cleanup(String),
Server(String),
Request(Error),
ConversationNotFound(String),
Execution(String),
ToolNetwork(String),
ToolConfig(String),
}Variants§
ToolExecution(String)
Configuration(String)
Network(String)
ContentProcessing(String)
ToolInvalidInput(String)
NotFound(String)
PermissionDenied(String)
Agent(String)
Task(String)
Io(Error)
Json(Error)
Url(ParseError)
Config(ConfigError)
TemplateAgent(String)
WebAgent(String)
AcademicAgent(String)
ToolChain(String)
TaskHandler(String)
Validation(String)
Authentication(String)
Authorization(String)
RateLimit(String)
Timeout(String)
Connection(String)
Serialization(String)
Deserialization(String)
Database(String)
Cache(String)
FileSystem(String)
Memory(String)
Resource(String)
State(String)
Initialization(String)
Shutdown(String)
Recovery(String)
Cleanup(String)
Server(String)
Request(Error)
ConversationNotFound(String)
Execution(String)
ToolNetwork(String)
ToolConfig(String)
Trait Implementations§
Source§impl Debug for KowalskiError
impl Debug for KowalskiError
Source§impl Display for KowalskiError
impl Display for KowalskiError
Source§impl Error for KowalskiError
impl Error for KowalskiError
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<&str> for KowalskiError
impl From<&str> for KowalskiError
Source§fn from(err: &str) -> KowalskiError
fn from(err: &str) -> KowalskiError
Converts to this type from the input type.
Source§impl From<ConfigError> for KowalskiError
impl From<ConfigError> for KowalskiError
Source§fn from(source: ConfigError) -> KowalskiError
fn from(source: ConfigError) -> KowalskiError
Converts to this type from the input type.
Source§impl From<Error> for KowalskiError
impl From<Error> for KowalskiError
Source§fn from(source: Error) -> KowalskiError
fn from(source: Error) -> KowalskiError
Converts to this type from the input type.
Source§impl From<Error> for KowalskiError
impl From<Error> for KowalskiError
Source§fn from(source: Error) -> KowalskiError
fn from(source: Error) -> KowalskiError
Converts to this type from the input type.
Source§impl From<Error> for KowalskiError
impl From<Error> for KowalskiError
Source§fn from(source: Error) -> KowalskiError
fn from(source: Error) -> KowalskiError
Converts to this type from the input type.
Source§impl From<KowalskiError> for CodeAgentError
impl From<KowalskiError> for CodeAgentError
Source§fn from(source: KowalskiError) -> Self
fn from(source: KowalskiError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for KowalskiError
impl From<ParseError> for KowalskiError
Source§fn from(source: ParseError) -> KowalskiError
fn from(source: ParseError) -> KowalskiError
Converts to this type from the input type.
Source§impl From<String> for KowalskiError
impl From<String> for KowalskiError
Source§fn from(err: String) -> KowalskiError
fn from(err: String) -> KowalskiError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KowalskiError
impl !RefUnwindSafe for KowalskiError
impl Send for KowalskiError
impl Sync for KowalskiError
impl Unpin for KowalskiError
impl !UnwindSafe for KowalskiError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more