EsAsyncStackTrace
Description
An async stack trace is an object whose purpose is to describe the call sequence and stack frame details that led to the error.
Unlike a normal walkback, the stack frame details are stored internally and there are some adjustments to the stack frames being reported on so the user does not get noise from the frames in the stack trace processing itself.
The debugPrinting capability of a stack trace is not made available since this object may end up in the printed out stack trace as an argument, as it hurts the ability to easily read the stack traces.
To print the stack trace, use EsAsyncStackTrace>>asString
Class Methods
defaultFor:
  A default stack trace for an error.

     If @anError is an <Exception>, then a stack trace is returned.
     If not, then an [EsAsyncStackTrace>>empty] default stack trace is returned.
empty
  A stack trace object with no information.

     This stack trace is used as the default in situations where
     a stack trace is required, but the user has not supplied one.

     Answers:
        <EsAsyncStackTrace>
for:
No comment
for:process:
No comment
fromString:
  Create an `EsStackTrace` object from @stackTraceString

     The created stack trace will have an `asString` method returning
     @stackTraceString.

     The @stackTraceString can be a string returned by some other
     stack trace, or it can be any string at all.
     If the string doesn't look like a stack trace, code that interprets
     stack traces is likely to fail, so fake stack traces should be used
     with care.

     Arguments:
        stackTraceString - <String>
     Answers:
        <EsAsyncStackTrace>
Instance Methods
asString
  Answer the contents of the stack trace as a string.

     Answers:
        <String>
Last modified date: 04/21/2022