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
<details> defaultStackTrace:
<pre><code> 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>
</code></pre> </details>
<details> error:
<pre><code> Answer a new (unsignalled) instance of an async error
Arguments:
anError - <Object>
Answers:
<EsAsyncError>
</code></pre> </details>
<details> error:stackTrace:
<pre><code> Answer a new (unsignalled) instance of an async error with the provided @anError and @aStackTrace
Arguments:
anError - <Object>
aStackTrace - <EsAsyncStackTrace>
Answers:
<EsAsyncError>
</code></pre> </details>
<details> signal:
<pre><code> Signal a new instance of an async error created for @anError.
Arguments:
anError - <Object>
Answers:
<EsAsyncError>
</code></pre> </details>
<details> signal:stackTrace:
<pre><code> Signal a new instance of an async error with the provided @anError and @aStackTrace
Arguments:
anError - <Object>
aStackTrace - <EsAsyncStackTrace>
Answers:
<EsAsyncError>
</code></pre> </details>
Instance Methods
<details> =
<pre><code> Equality test. This object is = to @anObject if
anObject is also an EsAsyncError
anObject's error is the same as this error
anObject's stackTrace is the same as this stackTrace
Answers:
<Boolean>
</code></pre> </details>
<details> error
<pre><code> Answer the error/exception object that this async error wraps
Answers:
<Object>
</code></pre> </details>
<details> isEsAsyncError
<pre><code> Polymorphic test
Answers:
<Boolean>
</code></pre> </details>
<details> stackTrace
<pre><code> Answer the stack trace for the error
Answers:
<EsAsyncStackTrace>
</code></pre> </details>
Last modified date: 04/21/2022