geodesic 0.1.0

A Rust library for constructing and sampling 3D geometric scenes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum NumericError {
    #[error("Type conversion failed: cannot convert {from_type} to {to_type}")]
    TypeConversion { from_type: String, to_type: String },

    #[error("Numeric bounds unavailable for type {type_name}")]
    BoundsUnavailable { type_name: String },

    #[error("Arithmetic operation failed: {operation}")]
    ArithmeticFailed { operation: String },
}