OS_Erc, Get error context

Register parameters

RST 20H, DEFB $72
IN:
     -

OUT:
     A = last error code
     B = resumption cycle
     C = dynamic id
     IX = reserved
     Fc = 0, always

Registers changed after return:
     ....DEHL/..IY same
     AFBC..../IX.. different

Notes

Internal operating system usage. BC, IX are reserved for future use.

Related system calls

GN_Err, display an interactive error box
GN_Esp, return an extended pointer to a system error message
OS_Erh, set error handler
OS_Esc, examine special condition