error_action/[2,3]
Under ProXL, if the ProXL error handler is installed, it is possible
to select a per-Display action using:
error_action(+Displayable, -Old, +New)
error_action(-Old, +New)
If Displayable is omitted, the default Display is used.
Old is unified with the previous action for the Display and
the new value is set from New.
The available options for error_action
are:
user
- If the user is installing her own C error handler.
xhandler
- If the user wants the X11 default error handler.
continue
- If the user wants the ProXL error handler installed
in 'continue' mode for the given Display.
trace
- If the user wants the ProXL error handler installed
in trace mode for the given Display.
debug
- If the user wants the ProXL error handler installed
in debug mode for the given Display.
abort
- If the user wants the ProXL error handler installed
in abort mode for the given Display.
exit
- If the user wants the ProXL error handler installed
in exit mode for the given Display.
menu
- If the user wants the ProXL error handler installed
and the show menu mode set for the given Display.
default
- Same as
menu
.