Difference between revisions of "83Plus:BCALLs:4048"
From WikiTI
(monErrHand: default system error handler) |
(No difference)
|
Latest revision as of 18:38, 29 September 2009
Synopsis
Official Name: monErrHand
BCALL Address: 4048
The main system error handler.
Inputs
- (errNo) = error code
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.