Report an error to the user, but allow the current splice's computation to carry on. To abort the computation, use fail.
Report any pending GL errors to stderr (which is typically the console). If there are no pending errors, this routine does nothing. Note that the error flags are reset after this action, i.e. there are no pending errors left afterwards.