Skip to main content

Module error

Module error 

Source
Expand description

Error types for the embedding API.

Every public surface in crate::embed flows errors through EmbedError. The variants are intentionally coarse: the library code beneath the embed facade owns the precise typed error vocabulary; the embed surface is a thin user-facing shim.

§Examples

use dynomite::embed::EmbedError;
let err = EmbedError::Build("listen address required".into());
assert!(err.to_string().contains("listen"));

Enums§

EmbedError
Top-level error for every embedding-API call.