Skip to main content

Module error

Module error 

Source
Expand description

EmbeddingError marker trait and a reference implementation.

Every EmbeddingProvider::Error associated type must satisfy the EmbeddingError bound, equivalent to std::error::Error + Send + Sync + 'static but named so it is grep-able and can grow cross-backend extension methods without breaking changes. Mirrors polyc_llm::error::LlmError.

Enums§

DummyError
Reference implementation: the shape of error a real backend would ship. Concrete backend crates define their own.

Traits§

EmbeddingError
Marker trait that every EmbeddingProvider::Error must satisfy.