Availability:C-language interface function
void PL_clear_exception(void)Tells Prolog that the encountered exception must be ignored. This
function must be called if control remains in C after a previous API
call fails with an exception.229This
feature is non-portable. Other Prolog systems (e.g., YAP) have no
facilities to ignore raised exceptions, and the design of YAP's
exception handling does not support such a facility. If
there is no pending exception, PL_clear_exception()
does nothing.