Distinguish exceptions in function trace

Differentiates between Exception returned and exception raised by prepending `!!!` to the exception repr. It also tries to look for known messsage variables for custom exception printout.