codes

Provides checked error-code symbols for BattleTech-specific failures.

Constants

SymbolCode
btech.error.codes.part.not_foundbtech.part.not_found
btech.error.codes.part.ambiguousbtech.part.ambiguous
btech.error.codes.part.wrong_kindbtech.part.wrong_kind
btech.error.codes.template.not_foundbtech.template.not_found
btech.error.codes.template.invalidbtech.template.invalid
btech.error.codes.operation.failedbtech.operation.failed

Errors with the btech.operation.failed code include a stable, machine-readable reason string in error.detail.reason.

See Also