LoadState.Error

public final class LoadState.Error extends LoadState

Object
   ↳ LoadState
     ↳ LoadState.Error

Loading hit an error.

See also
retry

Summary

Public fields

final @NonNull Throwable

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

Public constructors

Public methods

boolean
int
@NonNull String

Public fields

error

@NonNull
public final @NonNull Throwable error

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

Public constructors

Error

public final Error(@NonNull Throwable error)
Parameters
@NonNull Throwable error

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

Public methods

equals

@NonNull
public boolean equals(@Nullable Object other)

hashCode

@NonNull
public int hashCode()

toString

@NonNull
public String toString()