convenience function to halt on error
convenience function to halt on error

if we've seen an error (but continued on in the hope
of getting some good diagnostic messages) then call
this method to halt before moving to the next phase
of the program

BBN-Q/pyqgl2,BBN-Q/pyqgl2