MCPcopy Create free account
hub / github.com/cosdata/cosdata / WaCustomError

Enum WaCustomError

src/models/common.rs:278–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277#[derive(Debug, Clone)]
278pub enum WaCustomError {
279 DatabaseError(String),
280 SerializationError(String),
281 UpsertFailed,
282 InvalidParams,
283 LockError(String),
284 QuantizationMismatch,
285 LazyLoadingError(String),
286 TrainingFailed,
287 Untrained,
288 CalculationError,
289 FsError(String),
290 DeserializationError(String),
291 // put it in `Arc` to make it cloneable
292 BufIo(Arc<BufIoError>),
293 MetadataError(metadata::Error),
294 NotFound(String),
295 ConfigError(String),
296 NotImplemented(String),
297 InvalidData(String),
298}
299
300impl std::error::Error for WaCustomError {}
301

Callers 1

create_collectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected