finance-datagen 0.3.0

Standard financial data generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Debug, Error)]
pub enum DatagenError {
    #[error("invalid parameter: {0}")]
    InvalidParameter(String),
    #[error("arrow error: {0}")]
    Arrow(#[from] arrow_schema::ArrowError),
}

pub type DatagenResult<T> = Result<T, DatagenError>;