A couple of years ago, when we went from error/3 to error/2 we broke the method in which XSB passes errors back to C, which can access them. I stumbled on this when I was reconfiguring some of the foreign tests, and its now fixed.
Authored by: tswift 2018-06-09
Parent: [r9333]
Child: [r9335]