Skip to main content

atelier_quant/
errors.rs

1//! Error types for the arrivals module.
2
3use thiserror::Error;
4
5/// Errors from interarrival-time computation and validation.
6#[derive(Error, Debug)]
7#[non_exhaustive]
8pub enum ArrivalsError {
9    /// Insufficient data for the requested computation.
10    #[error("Insufficient data: {0}")]
11    InsufficientData(String),
12}