pub enum SimError {
DimensionMismatch,
InvalidInput(String),
Model(ModelError),
Kinematics(KinematicsError),
Dynamics(DynamicsError),
Control(ControlError),
Sensor(SensorError),
Stats(StatsError),
}Variants§
DimensionMismatch
InvalidInput(String)
Model(ModelError)
Kinematics(KinematicsError)
Dynamics(DynamicsError)
Control(ControlError)
Sensor(SensorError)
Stats(StatsError)
Trait Implementations§
Source§impl Error for SimError
impl Error for SimError
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()
Source§impl From<ControlError> for SimError
impl From<ControlError> for SimError
Source§fn from(value: ControlError) -> Self
fn from(value: ControlError) -> Self
Converts to this type from the input type.
Source§impl From<DynamicsError> for SimError
impl From<DynamicsError> for SimError
Source§fn from(value: DynamicsError) -> Self
fn from(value: DynamicsError) -> Self
Converts to this type from the input type.
Source§impl From<KinematicsError> for SimError
impl From<KinematicsError> for SimError
Source§fn from(value: KinematicsError) -> Self
fn from(value: KinematicsError) -> Self
Converts to this type from the input type.
Source§impl From<ModelError> for SimError
impl From<ModelError> for SimError
Source§fn from(value: ModelError) -> Self
fn from(value: ModelError) -> Self
Converts to this type from the input type.
Source§impl From<SensorError> for SimError
impl From<SensorError> for SimError
Source§fn from(value: SensorError) -> Self
fn from(value: SensorError) -> Self
Converts to this type from the input type.
Source§impl From<StatsError> for SimError
impl From<StatsError> for SimError
Source§fn from(value: StatsError) -> Self
fn from(value: StatsError) -> Self
Converts to this type from the input type.
Source§impl IntoNabledError for SimError
impl IntoNabledError for SimError
Source§fn into_nabled_error(self) -> NabledError
fn into_nabled_error(self) -> NabledError
Convert domain-specific error into shared taxonomy.
impl StructuralPartialEq for SimError
Auto Trait Implementations§
impl Freeze for SimError
impl RefUnwindSafe for SimError
impl Send for SimError
impl Sync for SimError
impl Unpin for SimError
impl UnsafeUnpin for SimError
impl UnwindSafe for SimError
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