misc: Better error handling in ocl reasoners