public final class AsyncError extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Throwable |
asyncError(io.vertx.core.AsyncResult<T> asyncResult,
String jsAsyncStackLine)
Stitches the given cause of the asyncResult with the current
execution stack trace at the moment this function is invoked.
|
static Throwable |
asyncError(Throwable throwable,
String jsAsyncStackLine)
Stitches the given throwable with the current execution stack trace
at the moment this function is invoked.
|
public static Throwable asyncError(Throwable throwable, String jsAsyncStackLine)
throwable - a throwable objectjsAsyncStackLine - the js async stack line to be insertedpublic static <T> Throwable asyncError(io.vertx.core.AsyncResult<T> asyncResult, String jsAsyncStackLine)
T - the kind of async resultasyncResult - a asyncResult objectjsAsyncStackLine - the js async stack line to be insertedCopyright © 2019. All rights reserved.