Language

ErrorCode Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Accounts.AccountAuthenticatorResponse.OnError member.

public enum ErrorCode
type ErrorCode = 
Inheritance
ErrorCode

Fields

Name Value Description
RemoteException 1

A call or connection to the authenticator failed or timed out, or the authenticator threw an unexpected exception.

NetworkError 3

A network error prevented the request from completing.

Canceled 4

The request was canceled.

InvalidResponse 5

An account response was invalid or missing, or a session bundle could not be encrypted.

UnsupportedOperation 6

The authenticator does not support the requested operation.

BadArguments 7

An account operation reported an invalid-argument error.

BadRequest 8

An account request failed, such as when a session bundle could not be decrypted.

ErrorCodeBadAuthentication 9

The credentials were rejected.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to