pub enum KboltError {
Show 29 variants
Database(String),
Tantivy(String),
USearch(String),
SpaceNotFound {
name: String,
},
CollectionNotFound {
name: String,
},
DocumentNotFound {
path: String,
},
ChunkNotFound {
locator: String,
},
AmbiguousSpace {
collection: String,
spaces: Vec<String>,
},
SpaceAlreadyExists {
name: String,
},
CollectionAlreadyExists {
name: String,
space: String,
},
NoActiveSpace,
FileNotFound(PathBuf),
EvalFileNotFound(PathBuf),
FileDeleted(PathBuf),
ModelNotAvailable {
name: String,
},
ScheduleNotFound {
id: String,
},
ScheduleScopeNotFound,
ScheduleScopeAmbiguous {
ids: Vec<String>,
},
InvalidScheduleInterval {
reason: String,
},
SemanticUnavailable {
reason: String,
},
DeepUnavailable {
reason: String,
},
SpaceDenseRepairRequired {
space: String,
reason: String,
},
ModelDownload(String),
Inference(String),
Config(String),
InvalidInput(String),
InvalidPath(PathBuf),
Internal(String),
Io(Error),
}Variants§
Database(String)
Tantivy(String)
USearch(String)
SpaceNotFound
CollectionNotFound
DocumentNotFound
ChunkNotFound
AmbiguousSpace
SpaceAlreadyExists
CollectionAlreadyExists
NoActiveSpace
FileNotFound(PathBuf)
EvalFileNotFound(PathBuf)
FileDeleted(PathBuf)
ModelNotAvailable
ScheduleNotFound
ScheduleScopeNotFound
ScheduleScopeAmbiguous
InvalidScheduleInterval
SpaceDenseRepairRequired
ModelDownload(String)
Inference(String)
Config(String)
InvalidInput(String)
InvalidPath(PathBuf)
Internal(String)
Io(Error)
Trait Implementations§
Source§impl Debug for KboltError
impl Debug for KboltError
Source§impl Display for KboltError
impl Display for KboltError
Source§impl Error for KboltError
impl Error for KboltError
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 KboltError
impl !UnwindSafe for KboltError
impl Freeze for KboltError
impl Send for KboltError
impl Sync for KboltError
impl Unpin for KboltError
impl UnsafeUnpin for KboltError
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