145
145
This hook predicate, if defined in the module <CODE>user</CODE>, is
146
146
between raising an exception and handling it. It is intended to allow a
147
147
program adding additional context to an exception to simplify diagnosing
149
149
or one of the bullt-in predicates. The output argument <VAR>ExceptionOut</VAR>
150
150
describes the exception that is actually raised. <VAR>Frame</VAR> is the
153
153
<CODE>library(prolog_stack)</CODE> for getting information from this.
154
154
<VAR>CatcherFrame</VAR> is a reference to the frame calling the matching
156
156
or <CODE>none</CODE> of the exception is not caught.
158
158
<P>The hook is run in `nodebug' mode. If it succeeds <VAR>ExceptionOut</VAR>