message

fun <T> ApiResponse.Failure<T>.message(): String

Returns an error message from the ApiResponse.Failure that consists of the localized message.

Return

An error message from the ApiResponse.Failure.


fun <T> ApiResponse.Failure.Error<T>.message(): String

Author

skydoves (Jaewoong Eum)

Returns an error message from the ApiResponse.Failure.Error that consists of the status and error response.

Return

An error message from the ApiResponse.Failure.Error.


fun <T> ApiResponse.Failure.Exception<T>.message(): String

Returns an error message from the ApiResponse.Failure.Exception that consists of the localized message.

Return

An error message from the ApiResponse.Failure.Exception.