library / io.getstream.chat.android.livedata / io.getstream.chat.android.client.errors.ChatError / isPermanent

isPermanent

fun ChatError.isPermanent(): Boolean

Returns true if an error is a permanent failure instead of a temporary one (broken network, 500, rate limit etc.)