Skip to main content

Module error

Module error 

Source
Expand description

Public error type for systemprompt-cloud.

All public APIs of this crate return CloudError (or CloudResult<T>) instead of anyhow::Error. The enum is #[non_exhaustive] so additional variants can be added in patch releases without breaking downstream code that performs exhaustive matching only on the documented variants.

Upstream errors are composed via #[from] (reqwest, std::io, serde_json) so callers can use ? transparently.

Enums§

CloudError

Type Aliases§

CloudResult