EsAsyncError
Description
Raised for asynchronous operations failures in the EsAsynchronousSupport framework
The error cause is wrapped and can be accessed with #error. The stack trace at the point of the exception (if available) can be accessed with #stackTrace
Class Methods
defaultStackTrace:
  A default stack trace for an error.
    
     If @error is an <Exception>, then the exception stack trace is returned.
     If not, the [EsAsyncStackTrace empty] default stack trace is returned.
     
     Arguments:
        error - <Object>
     Answers:
        <EsAsyncStackTrace>
error:
  Answer a new (unsignalled) instance of an async error
     
     Arguments:
        anError - <Object>
     Answers:
        <EsAsyncError>
error:stackTrace:
  Answer a new (unsignalled) instance of an async error
     with the provided @anError and @aStackTrace
     
     Arguments:
        anError - <Object>
        aStackTrace - <EsAsyncStackTrace>
     Answers:
        <EsAsyncError>
signal:
  Signal a new  instance of an async error
     created for @anError.
     
     Arguments:
        anError - <Object>
     Answers:
        <EsAsyncError>
signal:stackTrace:
  Signal a new instance of an async error
     with the provided @anError and @aStackTrace
     
     Arguments:
        anError - <Object>
        aStackTrace - <EsAsyncStackTrace>
     Answers:
        <EsAsyncError>
Instance Methods
=
  Equality test.
     This object is = to @anObject if
     1. anObject is also an EsAsyncError
     2. anObject's error is the same as this error
     3. anObject's stackTrace is the same as this stackTrace
     
     Answers:
        <Boolean>
error
  Answer the error/exception object that this async error wraps
     
     Answers:
        <Object>
isEsAsyncError
  Polymorphic test
     
     Answers:
        <Boolean>
stackTrace
  Answer the stack trace for the error
     
     Answers:
        <EsAsyncStackTrace>
Last modified date: 01/06/2026