InteractionResponse.RemoteError

public final class InteractionResponse.RemoteError


TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description.

Summary

Constants

static final int
static final int

Public constructors

Public methods

int
String
String

Constants

REMOTE_ESPRESSO_ERROR_CODE

public static final int REMOTE_ESPRESSO_ERROR_CODE = 0

REMOTE_PROTOCOL_ERROR_CODE

public static final int REMOTE_PROTOCOL_ERROR_CODE = 1

Public constructors

RemoteError

public RemoteError()

Public methods

getCode

public int getCode()
Returns
int

the error code of this RemoteError instance.

getDescription

public String getDescription()
Returns
String

the description of this RemoteError instance.

toString

public String toString()