Enum nyx_space::dynamics::NyxError[][src]

pub enum NyxError {
Show 39 variants SingularStateTransitionMatrix, FuelExhausted(Box<Spacecraft>), ConditionNeverTriggered, UnsufficientTriggers(usizeusize), MaxIterReached(String), EventNotInEpochBraket(StringString), StateTransitionMatrixUnset, SensitivityNotUpdated, SingularKalmanGain, SingularCovarianceMatrix, SingularJacobian, TargetsTooClose, LambertNotReasonablePhi, LambertMultiRevNotSupported, PartialsUndefined, ParameterUnavailableForType, LoadingError(String), FileUnreadable(String), ObjectNotFound(String), NoInterpolationData(String), InvalidInterpolationData(String), OutOfInterpolationWindow(String), NoStateData(String), DisjointFrameOrientations(StringString), CtrlExistsButNoThrusterAvail, CtrlNotAUnitVector(f64), CtrlThrottleRangeErr(f64), NoObjectiveDefined, ExportError(String), NotHyperbolic(String), CorrectionIneffective(String), MonteCarlo(String), TargetError(String), UnderdeterminedProblem, CCSDS(String), MultipleShootingTargeter(usizeBox<NyxError>), TrajectoryCreationError, CustomError(String), TimeError(TimeErrors),
}

Variants

SingularStateTransitionMatrix

STM is singular, check the automatic differentiation function and file a bug

FuelExhausted(Box<Spacecraft>)

Tuple Fields

Fuel exhausted error, try running without fuel depletion, and then adding it. Parameter is the state at which the fuel has exhaused

ConditionNeverTriggered

Propagation event not triggered withinin the max propagation time

UnsufficientTriggers(usizeusize)

Tuple Fields

0: usize
1: usize

Propagation event not hit enough times (requested, found).

MaxIterReached(String)

Tuple Fields

0: String

Maximum iterations reached, value corresponds to the number of iterations used

EventNotInEpochBraket(StringString)

Tuple Fields

0: String
1: String

Event not in braket

StateTransitionMatrixUnset

The operation was expecting the state to have an STM, but it isn’t present.

SensitivityNotUpdated

The sensitivity matrix was not updated prior to requesting a filter measurement update

SingularKalmanGain

Kalman gain is singular, file a bug if this is encountered

SingularCovarianceMatrix

Covariance is singular

SingularJacobian

Jacobian of some optimization problem is singular

TargetsTooClose

LambertNotReasonablePhi

LambertMultiRevNotSupported

PartialsUndefined

Returns this error if the partials for this model are not defined, thereby preventing the computation of the STM

ParameterUnavailableForType

Returned if trying to set a parameter for something which does not have that parameter.

LoadingError(String)

Tuple Fields

0: String

FileUnreadable(String)

Tuple Fields

0: String

ObjectNotFound(String)

Tuple Fields

0: String

NoInterpolationData(String)

Tuple Fields

0: String

InvalidInterpolationData(String)

Tuple Fields

0: String

OutOfInterpolationWindow(String)

Tuple Fields

0: String

NoStateData(String)

Tuple Fields

0: String

DisjointFrameOrientations(StringString)

Tuple Fields

0: String
1: String

CtrlExistsButNoThrusterAvail

When there is a controller but there isn’t any thruster available

CtrlNotAUnitVector(f64)

Tuple Fields

0: f64

The control vector returned by a controller must be a unit vector. Use the throttle() function to specify the amount.

CtrlThrottleRangeErr(f64)

Tuple Fields

0: f64

The control throttle range must be between 0.0 and 1.0 (both included) as it represents a percentage.

NoObjectiveDefined

An objective based analysis or control was attempted, but no objective was defined.

ExportError(String)

Tuple Fields

0: String

Error when exporting data

NotHyperbolic(String)

Tuple Fields

0: String

This computation requires the orbit to be hyperbolic

CorrectionIneffective(String)

Tuple Fields

0: String

Raised if a differential corrector is not decreasing the error

MonteCarlo(String)

Tuple Fields

0: String

When there is an error during a Monte Carlo or in the conditions starting a Monte Carlo run

TargetError(String)

Tuple Fields

0: String

Raised if the variables to be adjusted lead to an over-determined of the problem for the targeter

UnderdeterminedProblem

Raised if the variables to be adjusted lead to an under-determined of the problem for the targeter

CCSDS(String)

Tuple Fields

0: String

Returned if CCSDS encountered an error

MultipleShootingTargeter(usizeBox<NyxError>)

Tuple Fields

0: usize

Returned if the targeter for node_no has failed

TrajectoryCreationError

Returned when the trajectory could not be created

CustomError(String)

Tuple Fields

0: String

Some custom error for new dynamics

TimeError(TimeErrors)

Tuple Fields

Hifitime errors that rose upward

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.