# InteractionResponse.RemoteError

# InteractionResponse.RemoteError

Artifact:[androidx.test.espresso:espresso-remote](https://developer.android.com/jetpack/androidx/releases/test-espresso)  
[View Source](https://cs.android.com/search?q=file:androidx/test/espresso/remote/InteractionResponse.java+class:androidx.test.espresso.remote.InteractionResponse.RemoteError)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.RemoteError "View this page in Java")

<br />

```
class InteractionResponse.RemoteError
```

<br />

*** ** * ** ***

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REMOTE_ESPRESSO_ERROR_CODE](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#REMOTE_ESPRESSO_ERROR_CODE())` = 0` |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REMOTE_PROTOCOL_ERROR_CODE](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#REMOTE_PROTOCOL_ERROR_CODE())` = 1` |

|                                 ### Public functions                                 |
|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [toString](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#toString())`()` |

|                                ### Public properties                                 |
|--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)          | [code](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#code())               |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [description](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/InteractionResponse.RemoteError#description()) |

## Constants

### REMOTE_ESPRESSO_ERROR_CODE

```
const val REMOTE_ESPRESSO_ERROR_CODE = 0: Int
```  

### REMOTE_PROTOCOL_ERROR_CODE

```
const val REMOTE_PROTOCOL_ERROR_CODE = 1: Int
```  

## Public functions

### toString

```
fun toString(): String!
```  

## Public properties

### code

```
val code: Int
```  

### description

```
val description: String!
```