Might change the structure again...
This commit is contained in:
@@ -2,12 +2,21 @@ struct LaGuerreConway_Error <: Exception end
|
||||
|
||||
struct ΔVsize_Error <: Exception end
|
||||
|
||||
struct HitPlanet_Error <: Exception end
|
||||
Base.showerror(io::IO, e::HitPlanet_Error) = print(io, "spacecraft hit the planet...")
|
||||
|
||||
struct Convergence_Error <: Exception end
|
||||
Base.showerror(io::IO, e::Convergence_Error) = print(io, "NLP solver didn't converge...")
|
||||
|
||||
struct GenOrbit_Error <: Exception end
|
||||
Base.showerror(io::IO, e::GenOrbit_Error) = print(io, "infinite Loop trying to generate the init orbit")
|
||||
|
||||
struct V∞_Error <: Exception
|
||||
v∞_in::AbstractVector
|
||||
v∞_out::AbstractVector
|
||||
end
|
||||
Base.showerror(io::IO, e::V∞_Error) = print(io, "v∞s weren't the same: ", e.v∞_in, " and ", e.v∞_out)
|
||||
|
||||
struct PropOne_Error <: Exception
|
||||
ΔV_unit::AbstractVector
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user