android-components / mozilla.components.concept.fetch / isClientError

isClientError

val Response.isClientError: Boolean (source)

Returns true if the response was a client error (status in the range 400-499) or false otherwise.