Skip to main content

fixed_dsp/common/
error.rs

1pub type Result<T> = core::result::Result<T, Error>;
2
3/// Error type for fixed-dsp.
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum Error {
6    /// Not-a-number / infinity equivalent in fixed-point APIs.
7    NanInf,
8    /// Size mismatch between input and output buffers.
9    SizeMismatch,
10}