onError

abstract fun onError(@Nullable errorMessage: String)

Called when an error occurred in the operation of loading of messages request.