int exception( int errCode );
Description
- This function is called by Rabbit libraries when a runtime error occurs. It puts information
relevant to the runtime error on the stack and calls the default runtime error handler pointed to
by the
ERROR_EXIT macro. To define your own error handler, see the
defineErrorHandler() function.
- When the error handler is called, the following information will be on the stack:
|
Return address for error handler call |
|
Runtime error code |
|
(can be used for additional information) |
|
XPC when exception() was called (upper byte) |
|
Address where exception() was called from |
Return value
- Runtime error code passed to it.
Library
- ERRORS.LIB
See also
- defineErrorHandler