Error » message
message → string
Contains both the error text as well as the snippet. This is also what you get in the console when you don't catch the error.
python>>> try:
... # ...
... except Error as e:
... return e.message
"In line 4 'a' is copied into itself.\n\n Line | Content\n ..."
Return value
Both the error text as well as the snippet.