Skip to main content
Version: v0.0.6

Function: ackDiagnosticMessage()

ackDiagnosticMessage(code): string

Look up the frozen diagnostic text for an ACK-correlation code.

A pure table read. It takes no value, so no caller can widen it into an interpolation site.

Parameters

code

AckCorrelationCode

The correlation code being reported.

Returns

string

The registered message for that code, byte-for-byte.

Example

const message = ackDiagnosticMessage('MLLP_ACK_AFTER_TIMEOUT');