Implement error handling for caching_client_glGetProgramiv