DotNet.Ships.Class.LoadoutEditException - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / LoadoutEditException
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:30
An edit the current hull or build constraints cannot accept.
Read Code, then Constraint and the properties beside it, rather than parsing the English fallback in the message.
new LoadoutEditException(
message,code,issue?,slot?)
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:39
Builds an exception describing a refused edit.
string
The English fallback, fit for a log.
The stable category for the refusal.
LoadoutIssue? = null
The finding the refusal reports, which names the mount and the module.
string? = null
The mount the refusal is about, where the finding does not already name it.
new LoadoutEditException()
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:52
Builds an exception with the default message for a code.
new LoadoutEditException(
message)
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:59
Builds an exception with a message alone.
string
The English fallback, fit for a log.
new LoadoutEditException(
message,innerException)
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:67
Builds an exception with a message and an inner cause.
string
The English fallback, fit for a log.
Exception
The cause.
Code:
LoadoutEditErrorCode
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:71
The stable category for the refusal.
Constraint:
ModuleFitConstraint?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:80
The fitting rule an incompatible module broke, where one is known.
Issue:
LoadoutIssue?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:74
The finding the refusal reports, which names the mount and the module.
Slot:
string?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:77
The mount the refusal is about.