library / io.getstream.chat.android.livedata / ChatDomainImpl / errorEvents

errorEvents

val errorEvents: LiveData<Event<ChatError>>

The error event livedata object is triggered when errors in the underlying components occure. The following example shows how to observe these errors

repo.errorEvent.observe(this, EventObserver { // create a toast })