stackTraceToString

Returns the stacktrace as a String

Note, the first line in the stacktrace will be the RaiseCancellationException. The users call to raise can found in the_second line of the stacktrace.