Stay organized with collections
Save and categorize content based on your preferences.
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.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# InteractionResponse.RemoteError\n===============================\n\nArtifact: [androidx.test.espresso:espresso-remote](/jetpack/androidx/releases/test-espresso) \n[View Source](https://cs.android.com/search?q=file:androidx/test/espresso/remote/InteractionResponse.java+class:androidx.test.espresso.remote.InteractionResponse.RemoteError)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/test/espresso/remote/InteractionResponse.RemoteError \"View this page in Java\")\n\n\n```\nclass InteractionResponse.RemoteError\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Constants |\n|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REMOTE_ESPRESSO_ERROR_CODE](/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#REMOTE_ESPRESSO_ERROR_CODE())` = 0` |\n| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REMOTE_PROTOCOL_ERROR_CODE](/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#REMOTE_PROTOCOL_ERROR_CODE())` = 1` |\n\n| ### Public functions |\n|--------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [toString](/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#toString())`()` |\n\n| ### Public properties |\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [code](/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#code()) |\n| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [description](/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#description()) |\n\nConstants\n---------\n\n### REMOTE_ESPRESSO_ERROR_CODE\n\n```\nconst val REMOTE_ESPRESSO_ERROR_CODE = 0: Int\n``` \n\n### REMOTE_PROTOCOL_ERROR_CODE\n\n```\nconst val REMOTE_PROTOCOL_ERROR_CODE = 1: Int\n``` \n\nPublic functions\n----------------\n\n### toString\n\n```\nfun toString(): String!\n``` \n\nPublic properties\n-----------------\n\n### code\n\n```\nval code: Int\n``` \n\n### description\n\n```\nval description: String!\n```"]]