pub enum NyxError {
Show 41 variants SingularStateTransitionMatrix, FuelExhausted(Box<Spacecraft>), ConditionNeverTriggered, UnsufficientTriggers(usizeusize), MaxIterReached(String), EventNotInEpochBraket(StringString), StateTransitionMatrixUnset, SensitivityNotUpdated, SingularKalmanGain, SingularCovarianceMatrix, CovarianceMatrixNotPsd, SingularJacobian, TargetsTooClose, LambertNotReasonablePhi, LambertMultiRevNotSupported, PartialsUndefined, StateParameterUnavailable, LoadingError(String), FileUnreadable(String), ObjectNotFound(String), NoInterpolationData(String), InvalidInterpolationData(String), NoStateData(String), DisjointFrameOrientations(StringString), NoThrusterAvail, CtrlNotAUnitVector(f64), CtrlThrottleRangeErr(f64), PolynomialOrderError(usize), NoObjectiveDefined, ExportError(String), NotHyperbolic(String), CorrectionIneffective(String), MonteCarlo(String), CCSDS(String), MultipleShootingTargeter(usizeBox<NyxError>), CustomError(String), TimeError(TimeErrors), Targeter(TargetingError), Trajectory(TrajError), MathDomain(String), GuidanceConfigError(String),
}

Variants

SingularStateTransitionMatrix

STM is singular, propagation or smoothing cannot proceed

FuelExhausted(Box<Spacecraft>)

Fuel exhausted at the provided spacecraft state

ConditionNeverTriggered

Propagation event not triggered within the max propagation time

UnsufficientTriggers(usizeusize)

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

MaxIterReached(String)

Maximum iterations reached

EventNotInEpochBraket(StringString)

Event not found within the provided epochs

StateTransitionMatrixUnset

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

SensitivityNotUpdated

The sensitivity matrix must be updated prior to a filter measurement update

SingularKalmanGain

Kalman Gain could not be computed because HP_barH + R is singular

SingularCovarianceMatrix

Singular Covariance

CovarianceMatrixNotPsd

Covariance is not positive semi definite

SingularJacobian

Singular Jacobian

TargetsTooClose

Targets in Lambert solver too close: Δν ~=0 and A ~=0

LambertNotReasonablePhi

No reasonable phi found to connect both radii

LambertMultiRevNotSupported

Multi revolution Lambert not supported, use the Izzo algorithm for multi-rev transfers

PartialsUndefined

Partials for this dynamical model are not defined

StateParameterUnavailable

State parameter cannot be used in this function

LoadingError(String)

Could not load file

FileUnreadable(String)

Could not read file

ObjectNotFound(String)

Celestial object or spacecraft not found

NoInterpolationData(String)

No interpolation data

InvalidInterpolationData(String)

Invalid interpolation data

NoStateData(String)

No state data

DisjointFrameOrientations(StringString)

Cannot convert the state to another frame as the frames are disjoint

NoThrusterAvail

No thruster attached to spacecraft

CtrlNotAUnitVector(f64)

Control vector is not a unit vector

CtrlThrottleRangeErr(f64)

Throttle is not between 0.0 and 1.0

PolynomialOrderError(usize)

Happens when trying to modify a polynomial’s (error)-th error but the polynomial has less orders than that

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)

Control variables to not decrease targeting error in differential corrector

MonteCarlo(String)

Monte Carlo error

CCSDS(String)

CCSDS error

MultipleShootingTargeter(usizeBox<NyxError>)

Multiple shooting failed with the provided error at the provided node computation

CustomError(String)

TimeError(TimeErrors)

Time related error

Targeter(TargetingError)

Targeting error

Trajectory(TrajError)

Trajectory error

MathDomain(String)

Math domain

GuidanceConfigError(String)

Guidance law config error

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
👎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 is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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
Method to serialize generic items, slices, and slices of Vecs. Can be also implemented on any other types. Read more
Method to serialize and render the resulting string in bold green. This is the default implementation applicable to all types that trait Printing is implemented for Read more
Method to serialize and render the resulting string in bold red.
🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. 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
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.