def error(self, message):
msg = "<STR_LIT>" % (self.prog, message)<EOL>if hasattr(self._parser, "<STR_LIT>"):<EOL><INDENT>msg = "<STR_LIT>" % (msg, self._parser._config_source_hint)<EOL><DEDENT>raise UsageError(self.format_usage() + msg)<EOL>
Transform argparse error message into UsageError.