cause property
The original throwable behind error, when this response was produced by an exception rather than an HTTP status.
Lets callers recover a custom exception type that would otherwise be
flattened into a generic ApiError:
if (response.cause is SessionExpiredException) ...
Implementation
final Object? cause;