def errmsg(self, msg, prefix="<STR_LIT>"):
<EOL>if not self.verbose:<EOL><INDENT>location = ("<STR_LIT>"<EOL>% (self.script_name, self.input_lineno))<EOL>msg = "<STR_LIT>" %(prefix, location, prefix, msg)<EOL><DEDENT>else:<EOL><INDENT>msg = "<STR_LIT>" %(prefix, msg)<EOL>pass<EOL><DEDENT>self.msg(msg)<EOL>if self.abort_on_error:<EOL><INDENT>raise EOFError<EOL><DEDENT>return<EOL>
Common routine for reporting debugger error messages.