toAsyncException static method
Implementation
static AsyncException toAsyncException(Exception ex) {
return ex is AsyncException
? ex
: new AsyncException(ErrorType.Exception, 0, ex.toString());
}
static AsyncException toAsyncException(Exception ex) {
return ex is AsyncException
? ex
: new AsyncException(ErrorType.Exception, 0, ex.toString());
}