This routine takes the Tcl interperter and reports the last error which occured in that interperter using a sequence of ErsRep calls such that one ErsRep calls occurs for each line in the error report. An optional flag (stack) indicates if the contents of the errorInfo and errorCode variables should be reported .
It is left up to the user to flush the errors.
> | interp | Tcl_Interp | The Tcl interperter to report for. |
---|---|---|---|
> | stack | int | If true, report the stack dump (errorInfo variable) and errorCode as well as the actual error. |
! | status | StatusType * | Modified Status. Passed
directly ErsRep which
means you should set it before entry for use in the
calls to ErsRep. Will only be changed if ErsRep
changes it.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aao.gov.au