tachedShaders</code>
        is available only if the GL version is 2.0 or greater.</p></div><div class="refsect1"><a id="errors"></a><h2>Errors</h2><p><code class="constant">GL_INVALID_VALUE</code> is generated if
        <em class="parameter"><code>program</code></em> is not a value generated by
        OpenGL.</p><p><code class="constant">GL_INVALID_OPERATION</code> is generated if
        <em class="parameter"><code>program</code></em> is not a program object.</p><p><code class="constant">GL_INVALID_VAL