Error

constructor(exception: Exception, data: T? = null)

Parameters

exception

The exception that occurred during the API call.

data

The last available data, if any, before the failure.