83Plus:BCALLs:4048

From WikiTI
Revision as of 19:38, 29 September 2009 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: monErrHand

BCALL Address: 4048

The main system error handler.

Inputs

Outputs

  • None

Destroys

  • Everything (this routine does not return)

Comments

This is the default system error handler, which will handle errors if no other error handler has been set. It simply pushes itself back onto the stack, loads the "cxError" context, and jumps to Mon.

Programs should never call or jump to this routine; I have no idea why it's a B_CALL at all. If you want to raise a system error, use JError, JErrorNo, or one of the specialized error routines.