Expand description
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_metapayload 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.
Modules§
- macros
- Declarative
domain_error!macro for domain crates.
Structs§
Enums§
- Config
Error - Config
Validation Error - Core
Error - Metadata
Error - Module
Error - Repository
Error - RowParse
Error - Secrets
Error - Service
Error