systemprompt_models/errors/provider.rs
1//! Boxed error and result aliases used by pluggable provider trait
2//! abstractions.
3//!
4//! Copyright (c) systemprompt.io — Business Source License 1.1.
5//! See <https://systemprompt.io> for licensing details.
6
7pub type ProviderError = Box<dyn std::error::Error + Send + Sync + 'static>;
8
9pub type ProviderResult<T> = Result<T, ProviderError>;