Exception AsyncTaskException (2.24.0)

Stay organized with collections Save and categorize content based on your preferences.
public class AsyncTaskException extends RuntimeException

This exception is used to preserve the caller's stacktrace when invoking an async task in a sync context. It will be added as a suppressed exception when propagating the async exception. This allows callers to catch ApiException thrown in an async operation, while still maintaining the call site.