pub enum SyntheticInstrumentError {
Validation(CorrectnessError),
Expression {
source: Box<dyn Error + Send + Sync + 'static>,
},
MissingInput {
component_name: String,
},
InputCountMismatch {
expected: usize,
actual: usize,
},
NonFiniteInput {
component_name: String,
value: f64,
},
InvalidPriceResult {
source: CorrectnessError,
},
}Variants§
Validation(CorrectnessError)
Expression
MissingInput
InputCountMismatch
NonFiniteInput
InvalidPriceResult
Fields
§
source: CorrectnessErrorTrait Implementations§
Source§impl Debug for SyntheticInstrumentError
impl Debug for SyntheticInstrumentError
Source§impl Display for SyntheticInstrumentError
impl Display for SyntheticInstrumentError
Source§impl Error for SyntheticInstrumentError
impl Error for SyntheticInstrumentError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for SyntheticInstrumentError
impl !UnwindSafe for SyntheticInstrumentError
impl Freeze for SyntheticInstrumentError
impl Send for SyntheticInstrumentError
impl Sync for SyntheticInstrumentError
impl Unpin for SyntheticInstrumentError
impl UnsafeUnpin for SyntheticInstrumentError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more