ERR

PET VIC-20 C64 C16 Plus/4 C128 X16

The ERR() function returns the code of the last emitted error. It can be used in an error handling routine.