Skip to content

DotNet.Ships.Class.LoadoutEditException

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

EliteDangerousAlmanac / Ships / LoadoutEditException

Class: LoadoutEditException

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:30

An edit the current hull or build constraints cannot accept.

Remarks

Read Code, then Constraint and the properties beside it, rather than parsing the English fallback in the message.

Constructors

new LoadoutEditException()

new LoadoutEditException(message, code, issue?, slot?)

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:39

Builds an exception describing a refused edit.

Parameters

message

string

The English fallback, fit for a log.

code

LoadoutEditErrorCode

The stable category for the refusal.

issue

LoadoutIssue? = null

The finding the refusal reports, which names the mount and the module.

slot

string? = null

The mount the refusal is about, where the finding does not already name it.

new LoadoutEditException()

new LoadoutEditException()

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:52

Builds an exception with the default message for a code.

new LoadoutEditException()

new LoadoutEditException(message)

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:59

Builds an exception with a message alone.

Parameters

message

string

The English fallback, fit for a log.

new LoadoutEditException()

new LoadoutEditException(message, innerException)

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:67

Builds an exception with a message and an inner cause.

Parameters

message

string

The English fallback, fit for a log.

innerException

Exception

The cause.

Properties

Code

Code: LoadoutEditErrorCode

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:71

The stable category for the refusal.

Constraint

Constraint: ModuleFitConstraint?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:80

The fitting rule an incompatible module broke, where one is known.

Issue

Issue: LoadoutIssue?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:74

The finding the refusal reports, which names the mount and the module.

Slot

Slot: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutEditing.cs:77

The mount the refusal is about.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally