Function: unknownRecordType()
unknownRecordType(
position):AstmRecordWarning
Build an ASTM_RECORD_UNKNOWN_TYPE warning. The record is still surfaced (as
an unsupported record), never dropped.
This one is not cosmetic. Message grouping decides where a message starts by reading each record's type letter, so an unrecognized letter may be a header the reader failed to see, and two messages then read as one. A profile is therefore not permitted to tolerate this code.
Parameters
position
Returns
Example
import { unknownRecordType } from "@cosyte/astm";
unknownRecordType({ recordIndex: 3, recordType: "Z" });