def _process_exlist(self, exc, raised):
if (not raised) or (raised and exc.endswith("<STR_LIT:*>")):<EOL><INDENT>return exc[:-<NUM_LIT:1>] if exc.endswith("<STR_LIT:*>") else exc<EOL><DEDENT>return None<EOL>
Remove raised info from exception message and create separate list for it.