Exception
data class Exception<T>(val exception: Throwable) : ApiResponse.Failure<T>
Content copied to clipboard
Author
skydoves (Jaewoong Eum)
API request Exception case. An unexpected exception occurs while creating requests or processing an response in the client side. e.g., network connection error, timeout.
Parameters
exception
An throwable exception.
Constructors
Properties
Functions
Extensions
Link copied to clipboard
Returns an error message from the ApiResponse.Failure.Exception that consists of the localized message.