Packagecom.myflashlab.air.extensions.firebase.db
Classpublic class DBError
InheritanceDBError Inheritance Object

Instances of DatabaseError are passed to callbacks when an operation failed. They contain a description of the specific error that occurred.



Public Constants
 ConstantDefined By
  DISCONNECTED : int = -4
[static] The operation had to be aborted due to a network disconnect
DBError
  EXPIRED_TOKEN : int = -6
[static] The supplied auth token has expired
DBError
  INVALID_TOKEN : int = -7
[static] The specified authentication token is invalid.
DBError
  MAX_RETRIES : int = -8
[static] The transaction had too many retries
DBError
  NETWORK_ERROR : int = -24
[static] The operation could not be performed due to a network error.
DBError
  OPERATION_FAILED : int = -2
[static] The server indicated that this operation failed
DBError
  OVERRIDDEN_BY_SET : int = -9
[static] The transaction was overridden by a subsequent set
DBError
  PERMISSION_DENIED : int = -3
[static] This client does not have permission to perform this operation
DBError
  UNAVAILABLE : int = -10
[static] The service is unavailable
DBError
  UNKNOWN_ERROR : int = -999
[static] An unknown error occurred.
DBError
  USER_CODE_EXCEPTION : int = -11
[static] An exception occurred in user code
DBError
  WRITE_CANCELED : int = -25
[static] The write was canceled locally
DBError
Constant Detail
DISCONNECTEDConstant
public static const DISCONNECTED:int = -4

The operation had to be aborted due to a network disconnect

EXPIRED_TOKENConstant 
public static const EXPIRED_TOKEN:int = -6

The supplied auth token has expired

INVALID_TOKENConstant 
public static const INVALID_TOKEN:int = -7

The specified authentication token is invalid. This can occur when the token is malformed, expired, or the secret that was used to generate it has been revoked.

MAX_RETRIESConstant 
public static const MAX_RETRIES:int = -8

The transaction had too many retries

NETWORK_ERRORConstant 
public static const NETWORK_ERROR:int = -24

The operation could not be performed due to a network error.

OPERATION_FAILEDConstant 
public static const OPERATION_FAILED:int = -2

The server indicated that this operation failed

OVERRIDDEN_BY_SETConstant 
public static const OVERRIDDEN_BY_SET:int = -9

The transaction was overridden by a subsequent set

PERMISSION_DENIEDConstant 
public static const PERMISSION_DENIED:int = -3

This client does not have permission to perform this operation

UNAVAILABLEConstant 
public static const UNAVAILABLE:int = -10

The service is unavailable

UNKNOWN_ERRORConstant 
public static const UNKNOWN_ERROR:int = -999

An unknown error occurred. Please refer to the error message and error details for more information.

USER_CODE_EXCEPTIONConstant 
public static const USER_CODE_EXCEPTION:int = -11

An exception occurred in user code

WRITE_CANCELEDConstant 
public static const WRITE_CANCELED:int = -25

The write was canceled locally