handle parse and glsl compile errors