The m4nfo User manual and Technical Report

m4nfo internal error messages

Introduction

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_ALLOCUMASKCannot change allocation of user mask
ERR_BYTESIZEBYTE value >255
ERR_CCLASSInvalid cargo class parameter in function
ERR_CID255Value '255' not allowed as a reference ID in functions def() and ref()
ERR_INVALIDInvalid parameter in function
ERR_IOPInvalid operator in function (function pcalc())
ERR_LABELInvalid label parameter in function
ERR_MATCHNumber of substitute building types does not match building's size in function
ERR_NOPARDEFGRF parameter not defined in function (function pcalc())
ERR_NOSTATCLASSMissing station class in function definestation()
ERR_NOWEIGHTWeight required for TE definition
ERR_NUMPARWrong number of parameters in function
ERR_PRICEMissing function 'enginetype()' before specifying 'price()'
ERR_RANGEParameter out of range
ERR_TYPEInvalid enginetype parameter in function
ERR_UNITInvalid unit parameter in function
ERR_VEHIDInvalid veh-ID in function
ERR_WORDSIZEWORD-size values in block needed by function
ERR_BADSEGMENTerror messages from bridge layout functions
ERR_NUMALLOC
ERR_NUMTYPE