Error

data class Error<E : Any>(val exception: Exception) : IviPagingSource.LoadResult<E>

Substitutes PagingSource.LoadResult.Error.

PagingSource.LoadResult.Error accepts any Throwable. We only accept an Exception because catching any Throwable is wrong.

Constructors

Link copied to clipboard
fun Error(exception: Exception)

Properties

Link copied to clipboard
val exception: Exception