.. _error: ERRor ===== +----------+-------------------------------------------------------------------+ | Syntax | ERRor | +----------+-------------------------------------------------------------------+ | Location | QL ROM (post JM) | +----------+-------------------------------------------------------------------+ This keyword forms part of the structure WHEN ERRor. Please refer to WHEN ERRor. As such, this keyword cannot be used in a program on its own - this will report 'bad line'. **CROSS-REFERENCE** :ref:`when--error` contains a detailed description of this structure.