pub enum DuckdbMemoryError {
Duckdb(Error),
Migration {
name: String,
source: Error,
},
DimMismatch {
expected: usize,
actual: usize,
},
BlockingJoin(String),
Json(Error),
}Expand description
Errors that originate inside the DuckDB memory backend.
Variants§
Duckdb(Error)
duckdb returned an error.
Migration
Migration failed to apply.
DimMismatch
The embedder dimension does not match the schema (FLOAT[384]).
BlockingJoin(String)
A blocking task failed to join.
Json(Error)
JSON serialization failed inside the storage layer.
Trait Implementations§
Source§impl Debug for DuckdbMemoryError
impl Debug for DuckdbMemoryError
Source§impl Display for DuckdbMemoryError
impl Display for DuckdbMemoryError
Source§impl Error for DuckdbMemoryError
impl Error for DuckdbMemoryError
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<DuckdbMemoryError> for MemoryError
impl From<DuckdbMemoryError> for MemoryError
Source§fn from(e: DuckdbMemoryError) -> Self
fn from(e: DuckdbMemoryError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DuckdbMemoryError
impl From<Error> for DuckdbMemoryError
Auto Trait Implementations§
impl !RefUnwindSafe for DuckdbMemoryError
impl !UnwindSafe for DuckdbMemoryError
impl Freeze for DuckdbMemoryError
impl Send for DuckdbMemoryError
impl Sync for DuckdbMemoryError
impl Unpin for DuckdbMemoryError
impl UnsafeUnpin for DuckdbMemoryError
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