pub enum MultiToneError {
InvalidWeight {
frequency_hz: f64,
weight: f64,
},
ComponentSolve {
frequency_hz: f64,
cause: Box<ReferenceSolveError>,
},
EmptyStudy,
DuplicateFrequency {
frequency_hz: f64,
},
MismatchedPlane {
frequency_hz: f64,
expected: Box<SamplingPlane>,
actual: Box<SamplingPlane>,
},
InvalidSeconds {
seconds: f64,
},
NonFiniteAngularTime {
frequency_hz: f64,
seconds: f64,
angular_time: f64,
},
NonFiniteContribution {
frequency_hz: f64,
row: usize,
column: usize,
value: f64,
},
NonFiniteAccumulation {
row: usize,
column: usize,
value: f64,
},
AllocationFailed {
cells: usize,
},
NonFiniteTemporalSamplingRequirement {
highest_frequency_hz: f64,
samples_per_second: f64,
},
CertificateAllocationFailed {
tones: usize,
},
}Expand description
A multi-tone study or observation was refused without a partial result.
Variants§
InvalidWeight
A tone’s scale was zero, negative, or non-finite.
ComponentSolve
An independently certified component solve failed.
Fields
cause: Box<ReferenceSolveError>Exact reference-solver diagnostic.
EmptyStudy
A study must contain at least one tone.
DuplicateFrequency
Equal frequencies must be modeled as one coherent problem.
MismatchedPlane
One component was solved on different physical sample geometry.
Fields
expected: Box<SamplingPlane>Plane established by the first component.
actual: Box<SamplingPlane>Rejected component plane.
InvalidSeconds
A shared observation time was non-finite.
NonFiniteAngularTime
Frequency-to-angular-time conversion overflowed.
Fields
NonFiniteContribution
Weighting one component scalar produced a non-finite value.
Fields
NonFiniteAccumulation
Compensated cross-tone scalar accumulation became non-finite.
Fields
AllocationFailed
Scalar result storage could not be reserved.
NonFiniteTemporalSamplingRequirement
The set’s temporal Nyquist floor could not be represented.
Fields
CertificateAllocationFailed
Component-certificate storage could not be reserved.
Trait Implementations§
Source§impl Clone for MultiToneError
impl Clone for MultiToneError
Source§fn clone(&self) -> MultiToneError
fn clone(&self) -> MultiToneError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MultiToneError
impl Debug for MultiToneError
Source§impl Display for MultiToneError
impl Display for MultiToneError
Source§impl Error for MultiToneError
impl Error for MultiToneError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()