syntax errors thrown by render & compile functions are hard to debug

provide the generated code as a member of the error object in case of a SyntaxError