Add script for generating error code handling in GLCLient