Interface: MllpWarning
A frozen warning object emitted when the decoder tolerates a framing deviation.
connectionId is undefined when emitted by a standalone FrameReader.
Connection enriches it to the real UUIDv4 before forwarding upstream.
Example
const reader = new FrameReader({
onFrame: (p) => process(p),
onWarning: (w: MllpWarning) => logger.warn(w),
allowFsOnly: true,
});
Properties
byteOffset
readonlybyteOffset:number
Absolute stream byte offset where the anomaly was detected.
code
readonlycode:WarningCode
connectionId
readonlyconnectionId:string|undefined
Connection identifier. undefined at the framing layer;
enriched by Connection before emitting upstream.
message
readonlymessage:string
Stable human-readable description. Never contains payload bytes or secrets.
timestamp
readonlytimestamp:Date
Wall-clock time at point of emission.