Skip to main content

agent_service/manager/
run_manager_config_error.rs

1//! Configuration errors returned when creating a run manager.
2
3use thiserror::Error;
4
5/// Configuration errors for a run manager.
6#[derive(Debug, Error, PartialEq, Eq)]
7pub enum RunManagerConfigError {
8    #[error("max_concurrent_runs must be greater than zero")]
9    ZeroConcurrency,
10    #[error("max_queued_runs must be greater than zero")]
11    ZeroQueueCapacity,
12}