ER_throw Function (Macro)

error.h

void ER_throw (short err_no);

Throws an error with a constant number.

ER_throw works like ER_throwVar, but it produces much shorter code (only 2 bytes). This is done through the Line 1010 (A-Line) emulator, which emulates an assembly opcode for each error number. As a consequence, err_no must be constant.


See also: ER_throwVar, ErrorCodes