i18n.Function.getLoadoutEditErrorMessage - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / i18n / getLoadoutEditErrorMessage
getLoadoutEditErrorMessage(
error,locale):string|null
Defined in: src/i18n/diagnostics.ts:68
Resolve a refused loadout edit's fallback message.
A structured LoadoutEditError thrown by a loadout edit.
string
A BCP 47 locale.
string | null
The error's English message for an English locale, otherwise null.
If error is not an object with a string message, or locale
is not a string.