Function: telecomWarning()
telecomWarning(
code,message,position):NcpdpTelecomWarning
Construct a frozen NcpdpTelecomWarning.
Parameters
code
The stable warning code.
message
string
PHI-free human-readable description.
position
Byte-offset location of the condition.
Returns
A frozen warning.
Example
telecomWarning(
TELECOM_WARNING_CODES.UNKNOWN_SEGMENT,
"Segment code 99 is not modeled; preserved verbatim.",
telecomPosition(56, "AM"),
);