Skip to main content
Version: v0.0.8

Interface: NcpdpTelecomWarning

A non-fatal Telecom parse warning: a stable code, its registry message, and the byte-offset location where it was raised.

What is and is not guaranteed. message is always the TELECOM_WARNING_MESSAGES entry for code, byte for byte, so no part of a transmission can appear in it. position carries a byte offset and, when known, a field identifier this parser named itself. A warning is therefore safe to log whole. That is a property of the construction, not a promise about the transmission: the segment and field values on the model are wire data and are exactly as sensitive as the claim they came from.

Properties

code

readonly code: TelecomWarningCode

Stable, machine-readable warning code.


message

readonly message: string

The TELECOM_WARNING_MESSAGES entry for code, verbatim.


position

readonly position: TelecomPosition

Byte-offset location where the condition was detected.