These are internal error codes and messages which m4nfo might throw during compilation of a m4nfo source file into an nfo file:
| Error code | Message |
| ERR_ALLOCUMASK | Cannot change allocation of user mask |
| ERR_BYTESIZE | BYTE value >255 |
| ERR_CCLASS | Invalid cargo class parameter in function |
| ERR_CID255 | Value '255' not allowed as a reference ID in functions def() and ref() |
| ERR_INVALID | Invalid parameter in function |
| ERR_IOP | Invalid operator in function (function pcalc()) |
| ERR_LABEL | Invalid label parameter in function |
| ERR_MATCH | Number of substitute building types does not match building's size in function |
| ERR_NOPARDEF | GRF parameter not defined in function (function pcalc()) |
| ERR_NOSTATCLASS | Missing station class in function definestation() |
| ERR_NOWEIGHT | Weight required for TE definition |
| ERR_NUMPAR | Wrong number of parameters in function |
| ERR_PRICE | Missing function 'enginetype()' before specifying 'price()' |
| ERR_RANGE | Parameter out of range |
| ERR_TYPE | Invalid enginetype parameter in function |
| ERR_UNIT | Invalid unit parameter in function |
| ERR_VEHID | Invalid veh-ID in function |
| ERR_WORDSIZE | WORD-size values in block needed by function |
| ERR_BADSEGMENT | error messages from bridge layout functions |
| ERR_NUMALLOC | |
| ERR_NUMTYPE |