getColor

fun getColor(): Int

Returns the color corresponding to the status code of the HTTP response.

Return

the color corresponding to the status code of the HTTP response.

Throws

if the status code is invalid.