Throw exception when shader fails to compile.