h6. [[TrapError]] h6(. » [[TrapError *Commands|*Commands]] h6((. » *TrapError_AddError h2. *TrapError_AddError h4. Use This *Command adds an error number to a table of error numbers which TrapError will trap. h4. Syntax *TrapError_AddError _Flags_ _ErrorNumber_ [_Extension_] h4. Parameters |<^{width:8em}. _Flags_ |<^. Describes the action to take upon error | |<^. _ErrorNumber_ |<^. Error number to add | |<^. _Extension_ |<^. Value to pass to R12 to code (if R0 > 255) pointer to replacement error block (if R0 = 2) | h4. Notes Further detailed notes on this call can be found from the equivalent SWI call [[TrapError_AddError]]. h4. See also * [[TrapError_AddError]] * [[*TrapError_RemoveError]]