1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Cross-cutting error types for `systemprompt-models`.
//!
//! This module hosts `thiserror`-derived enums returned by the public
//! surface of this crate. Public APIs never return `anyhow::Error`; they
//! convert to one of the typed enums declared here. Downstream entry
//! crates that use `anyhow` continue to consume these errors transparently
//! via `?` because every enum implements `std::error::Error`.
//!
//! Public re-exports:
//!
//! - [`ParseEnumError`], [`ConfigError`] — string parsing failures.
//! - [`ConfigValidationError`] — services / agents / plugins validation.
//! - [`RowParseError`] — JSON-row deserialization failures.
//! - [`MetadataError`] — MCP `_meta` payload decoding.
//! - [`SecretsError`] — on-disk secrets document.
//! - [`ModuleError`] — module manifest resolution.
//! - [`ProviderError`] / [`ProviderResult`] — plug-in trait abstractions.
//! - [`CoreError`] — legacy umbrella enum with HTTP status mapping.
//! - [`ServiceError`] — application-tier umbrella enum.
pub use RepositoryError;
pub use CoreError;
pub use MetadataError;
pub use ModuleError;
pub use ;
pub use ;
pub use RowParseError;
pub use SecretsError;
pub use ServiceError;
pub use ConfigValidationError;