autd3_core/gain/
error.rs

1
2
3
4
5
6
7
8
9
10
use derive_more::Display;
use derive_new::new;
use thiserror::Error;

#[derive(new, Error, Debug, Display, PartialEq, Clone)]
#[display("{}", msg)]
/// An error occurred during gain calculation.
pub struct GainError {
    msg: String,
}