Handle errors / typos in call to code generator