pub mod config;
pub mod encoder;
pub mod generator;
pub mod model;
pub mod schedule;
pub mod sink;
pub use config::BurstConfig;
pub use config::LogScenarioConfig;
pub use config::MultiScenarioConfig;
pub use config::ScenarioEntry;
pub use model::log::LogEvent;
pub use model::log::Severity;
pub use model::metric::Labels;
pub use model::metric::MetricEvent;
pub use schedule::handle::ScenarioHandle;
pub use schedule::launch::{launch_scenario, validate_entry};
pub use schedule::stats::ScenarioStats;
#[derive(Debug, thiserror::Error)]
pub enum SondaError {
#[error("configuration error: {0}")]
Config(String),
#[error("encoder error: {0}")]
Encoder(String),
#[error("sink error: {0}")]
Sink(#[from] std::io::Error),
#[error("generator error: {0}")]
Generator(String),
}