Enum nyx_space::NyxError[][src]

pub enum NyxError {
Show variants SingularStateTransitionMatrix, FuelExhausted, ConditionNeverTriggered, UnsufficientTriggers(usizeusize), MaxIterReached(String), EventNotInEpochBraket(StringString), StateTransitionMatrixNotUpdated, StateTransitionMatrixUnset, SensitivityNotUpdated, SingularKalmanGain, SingularCovarianceMatrix, TargetsTooClose, LambertNotReasonablePhi, LambertMultiRevNotSupported, PartialsUndefined, 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, CustomError(String),
}

Variants

SingularStateTransitionMatrix

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

FuelExhausted

Fuel exhausted error, try running without fuel depletion, and then adding it.

ConditionNeverTriggered

Propagation event not triggered withinin the max propagation time

UnsufficientTriggers(usizeusize)

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

MaxIterReached(String)

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

EventNotInEpochBraket(StringString)

Event not in braket

StateTransitionMatrixNotUpdated

The STM was not updated prior to requesting a filter update

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

TargetsTooClose
LambertNotReasonablePhi
LambertMultiRevNotSupported
PartialsUndefined

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

LoadingError(String)
FileUnreadable(String)
ObjectNotFound(String)
NoInterpolationData(String)
InvalidInterpolationData(String)
OutOfInterpolationWindow(String)
NoStateData(String)
DisjointFrameOrientations(StringString)
CtrlExistsButNoThrusterAvail

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

CtrlNotAUnitVector(f64)

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

CtrlThrottleRangeErr(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)

Error when exporting data

NotHyperbolic(String)

This computation requires the orbit to be hyperbolic

CorrectionIneffective(String)

Raised if a differential corrector is not decreasing the error

MonteCarlo(String)

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

TargetError(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

CustomError(String)

Some custom error for new dynamics

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

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.