Chapter 2: TI-83 Plus Specific Information 101
TI-83 Plus Developer Guide Third Release May 28, 2002
Nested Error Handlers
Error handlers can be nested inside of each other. The last error handler initiated will be
notified of any error that occurs. When the first handler is notified of the error, none of
the previous handlers initiated are notified. If the handler ignores the error or handles it
on its own, execution continues on with the other handlers still installed.
If that first error handler B_JUMPS back to the system error handler, (JError or
JErrorNo), the error handler that was initiated before the one that was just tripped is
now tripped itself.
Fig. 2.14 below shows the flow of the error with three nested error handlers initiated.
TI-83 Plus System Error Handler
1. The System Error Handler sends the error to Handler # 3
2. Handler # 3 sends the error back to the System Error Handler
3. The System Error Handler sends the error to Handler # 2
4. Handler # 2 sends the error to the System Error Handler
5. The System Error Handler sends the error to Handler # 1
An error occurs
Handler # 3 initiated last
Notified of error first
Sends error back to the
System Error Handler
Handler # 2 initiated last
Notified of error second
Sends error back to the
System Error Handler
Handler # 1 initiated last
Notified of error third
Handles the error on
its own
Step 1 Step 2 Step 4Step 3 Step 5
Fig. 2.14: Error Flow
See the System Routine Documentation for details on the JError and JErrorNo routines.