SP_exception_term() #include <sicstus/sicstus.h>
int
SP_exception_term(SP_term_ref term);
Retracts the current pending exception term, if it exists, and assigns
it to term.
1 if an exception term was retracted and assigned, and 0 otherwise.