Skip to main content

Module error

Module error 

Source
Expand description

Crate-wide error type.

Error is the only error type returned from public APIs in this crate. Variants wrap common foreign errors (std::io, serde_json, reqwest, regex) plus three string-tagged categories (Error::Config, Error::Scan, Error::Sanitize) for domain failures that do not map cleanly to a foreign error.

No variant carries sensitive content (URLs / file paths may appear in the Display form; raw HTTP bodies / pasted plaintext never do).

Enums§

Error
Top-level error for all agentsec-core operations.

Type Aliases§

Result
Convenience alias for Result<T, agentsec_core::Error>.