Stay organized with collections
Save and categorize content based on your preferences.
public final class RemoteMediator.MediatorResult.Error extends RemoteMediator.MediatorResult
Recoverable error that can be retried, sets the LoadState
to LoadState.Error
.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# RemoteMediator.MediatorResult.Error\n===================================\n\nArtifact: [androidx.paging:paging-common](/jetpack/androidx/releases/paging) \n[View Source](https://cs.android.com/search?q=file:androidx/paging/RemoteMediator.kt+class:androidx.paging.RemoteMediator.MediatorResult.Error) \nAdded in [3.0.0](/jetpack/androidx/releases/paging#3.0.0)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult.Error \"View this page in Kotlin\") \\|Java\n\n\n```\npublic final class RemoteMediator.MediatorResult.Error extends RemoteMediator.MediatorResult\n```\n\n\u003cbr /\u003e\n\n|---|---|-----------------------------------------------------------------------------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||\n| ↳ | [androidx.paging.RemoteMediator.MediatorResult](/reference/androidx/paging/RemoteMediator.MediatorResult) ||\n| | ↳ | [androidx.paging.RemoteMediator.MediatorResult.Error](/reference/androidx/paging/RemoteMediator.MediatorResult.Error) |\n\n*** ** * ** ***\n\nRecoverable error that can be retried, sets the [LoadState](/reference/androidx/paging/LoadState) to [LoadState.Error](/reference/androidx/paging/LoadState.Error).\n\nSummary\n-------\n\n| ### Public constructors |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Error](/reference/androidx/paging/RemoteMediator.MediatorResult.Error#Error(kotlin.Throwable))`(@`[NonNull](/reference/androidx/annotation/NonNull)` `[Throwable](https://developer.android.com/reference/java/lang/Throwable.html)` throwable)` |\n\n| ### Public methods |\n|--------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| `final @`[NonNull](/reference/androidx/annotation/NonNull)` `[Throwable](https://developer.android.com/reference/java/lang/Throwable.html) | [getThrowable](/reference/androidx/paging/RemoteMediator.MediatorResult.Error#getThrowable())`()` |\n\nPublic constructors\n-------------------\n\n### Error\n\nAdded in [3.0.0](/jetpack/androidx/releases/paging#3.0.0) \n\n```\npublic Error(@NonNull Throwable throwable)\n``` \n\nPublic methods\n--------------\n\n### getThrowable\n\nAdded in [3.0.0](/jetpack/androidx/releases/paging#3.0.0) \n\n```\npublic final @NonNull Throwable getThrowable()\n```"]]