pub enum KotobaError {
}
Expand description
The primary error type for the entire Kotoba ecosystem.
Variants§
Parse(String)
Execution(String)
Storage(String)
Validation(String)
Rewrite(String)
Security(String)
Io(Error)
InvalidArgument(String)
NotFound(String)
Configuration(String)
Serialization(String)
Network(String)
Workflow(String)
Json(Error)
Anyhow(Error)
Trait Implementations§
Source§impl Debug for KotobaError
impl Debug for KotobaError
Source§impl Display for KotobaError
impl Display for KotobaError
Source§impl Error for KotobaError
impl Error for KotobaError
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 KotobaError
impl From<Error> for KotobaError
Source§fn from(source: Error) -> KotobaError
fn from(source: Error) -> KotobaError
Converts to this type from the input type.
Source§impl From<Error> for KotobaError
impl From<Error> for KotobaError
Source§fn from(source: Error) -> KotobaError
fn from(source: Error) -> KotobaError
Converts to this type from the input type.
Source§impl From<Error> for KotobaError
impl From<Error> for KotobaError
Source§fn from(source: Error) -> KotobaError
fn from(source: Error) -> KotobaError
Converts to this type from the input type.
Source§impl From<WorkflowError> for KotobaError
Allow WorkflowError
to be converted into KotobaError
.
This is the key to breaking the circular dependency.
impl From<WorkflowError> for KotobaError
Allow WorkflowError
to be converted into KotobaError
.
This is the key to breaking the circular dependency.
Source§fn from(err: WorkflowError) -> KotobaError
fn from(err: WorkflowError) -> KotobaError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KotobaError
impl !RefUnwindSafe for KotobaError
impl Send for KotobaError
impl Sync for KotobaError
impl Unpin for KotobaError
impl !UnwindSafe for KotobaError
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