Cleaner syntax for append and prepend of error message tracebacks