{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LoadState.Error

class LoadState.Error : LoadState

kotlin.Any
   ↳ androidx.paging.LoadState
     ↳ androidx.paging.LoadState.Error

Loading hit an error.

See also
retry

Summary

Public constructors

Error(error: Throwable)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Throwable

Throwable that caused the load operation to generate this error state.

Inherited properties

From androidx.paging.LoadState
Boolean

false if there is more data to load in the LoadType this LoadState is associated with, true otherwise.

Public constructors

Error

Error(error: Throwable)
Parameters
error: Throwable

Throwable that caused the load operation to generate this error state.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

error

val errorThrowable

Throwable that caused the load operation to generate this error state.