# TCGBErrorCode Constants Reference

Declared in | TCGBConstants.h

### TCGBErrorCode

#### Definition

`typedef NS_ENUM(NSInteger, TCGBErrorCode ) {
TCGB_ERROR_NOT_INITIALIZED = 1,
TCGB_ERROR_NOT_LOGGED_IN = 2,
TCGB_ERROR_INVALID_PARAMETER = 3,
TCGB_ERROR_INVALID_JSON_FORMAT = 4,
TCGB_ERROR_USER_PERMISSION = 5,
TCGB_ERROR_INVALID_MEMBER = 6,
TCGB_ERROR_BANNED_MEMBER = 7,
TCGB_ERROR_SAME_REQUESTOR = 8,
TCGB_ERROR_NOT_GUEST_OR_HAS_OTHERS = 9,
TCGB_ERROR_NOT_SUPPORTED = 10,
TCGB_ERROR_NOT_SUPPORTED_ANDROID = 11,
TCGB_ERROR_NOT_SUPPORTED_IOS = 12,
TCGB_ERROR_NOT_SUPPORTED_UNITY_EDITOR = 13,
TCGB_ERROR_NOT_SUPPORTED_UNITY_STANDALONE = 14,
TCGB_ERROR_NOT_SUPPORTED_UNITY_WEBGL = 15,
TCGB_ERROR_ANDROID_ACTIVITY_DESTROYED = 31,
TCGB_ERROR_ANDROID_ACTIVEAPP_NOT_CALLED = 32,
TCGB_ERROR_IOS_GAMECENTER_DENIED = 51,
TCGB_ERROR_IOS_CANNOT_OPEN_URL = 52,
TCGB_ERROR_SOCKET_RESPONSE_TIMEOUT = 101,
TCGB_ERROR_SOCKET_ERROR = 110,
TCGB_ERROR_SOCKET_UNKNOWN_ERROR = 999,
TCGB_ERROR_LAUNCHING_SERVER_ERROR = 2001,
TCGB_ERROR_LAUNCHING_NOT_EXIST_CLIENT_ID = 2002,
TCGB_ERROR_LAUNCHING_UNREGISTERED_APP = 2003,
TCGB_ERROR_LAUNCHING_UNREGISTERED_CLIENT = 2004,
TCGB_ERROR_AUTH_USER_CANCELED = 3001,
TCGB_ERROR_AUTH_NOT_SUPPORTED_PROVIDER = 3002,
TCGB_ERROR_AUTH_NOT_EXIST_MEMBER = 3003,
TCGB_ERROR_AUTH_EXTERNAL_LIBRARY_INITIALIZATION_ERROR = 3006,
TCGB_ERROR_AUTH_EXTERNAL_LIBRARY_ERROR = 3009,
TCGB_ERROR_AUTH_ALREADY_IN_PROGRESS_ERROR = 3010,
TCGB_ERROR_AUTH_INVALID_GAMEBASE_TOKEN = 3011,
TCGB_ERROR_AUTH_AUTHENTICATION_SERVER_ERROR = 3012,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_EXPIRED = 3041,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_BLOCK = 3042,
TCGB_ERORR_AUTH_TRANSFERACCOUNT_INVALID_ID = 3043,
TCGB_ERORR_AUTH_TRANSFERACCOUNT_INVALID_PASSWORD = 3044,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_CONSOLE_NO_CONDITION = 3045,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_NOT_EXIST = 3046,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_ALREADY_EXIST_ID = 3047,
TCGB_ERROR_AUTH_TRANSFERACCOUNT_ALREADY_USED = 3048,
TCGB_ERROR_AUTH_TOKEN_LOGIN_FAILED = 3101,
TCGB_ERROR_AUTH_TOKEN_LOGIN_INVALID_TOKEN_INFO = 3102,
TCGB_ERROR_AUTH_TOKEN_LOGIN_INVALID_LAST_LOGGED_IN_IDP = 3103,
TCGB_ERROR_AUTH_IDP_LOGIN_FAILED = 3201,
TCGB_ERROR_AUTH_IDP_LOGIN_INVALID_IDP_INFO = 3202,
TCGB_ERROR_AUTH_IDP_LOGIN_EXTERNAL_AUTHENTICATION_REQUIRED = 3203,
TCGB_ERROR_AUTH_ADD_MAPPING_FAILED = 3301,
TCGB_ERROR_AUTH_ADD_MAPPING_ALREADY_MAPPED_TO_OTHER_MEMBER = 3302,
TCGB_ERROR_AUTH_ADD_MAPPING_ALREADY_HAS_SAME_IDP = 3303,
TCGB_ERROR_AUTH_ADD_MAPPING_INVALID_IDP_INFO = 3304,
TCGB_ERROR_AUTH_ADD_MAPPING_CANNOT_ADD_GUEST_IDP = 3305,
TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_NOT_EXIST_KEY = 3311,
TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_ALREADY_USED_KEY = 3312,
TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_EXPIRED_KEY = 3313,
TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_IDP = 3314,
TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_AUTHKEY = 3315,
TCGB_ERROR_AUTH_REMOVE_MAPPING_FAILED = 3401,
TCGB_ERROR_AUTH_REMOVE_MAPPING_LAST_MAPPED_IDP = 3402,
TCGB_ERROR_AUTH_REMOVE_MAPPING_LOGGED_IN_IDP = 3403,
TCGB_ERROR_AUTH_LOGOUT_FAILED = 3501,
TCGB_ERROR_AUTH_WITHDRAW_FAILED = 3601,
TCGB_ERROR_AUTH_WITHDRAW_ALREADY_TEMPORARY_WITHDRAW = 3602,
TCGB_ERROR_AUTH_WITHDRAW_NOT_TEMPORARY_WITHDRAW = 3603,
TCGB_ERROR_AUTH_NOT_PLAYABLE = 3701,
TCGB_ERROR_AUTH_UNKNOWN_ERROR = 3999,
TCGB_ERROR_PURCHASE_NOT_INITIALIZED = 4001,
TCGB_ERROR_PURCHASE_USER_CANCELED = 4002,
TCGB_ERROR_PURCHASE_NOT_FINISHED_PREVIOUS_PURCHASING = 4003,
TCGB_ERROR_PURCHASE_NOT_ENOUGH_CASH = 4004,
TCGB_ERROR_PURCHASE_INACTIVE_PRODUCT_ID = 4005,
TCGB_ERROR_PURCHASE_NOT_EXIST_PRODUCT_ID = 4006,
TCGB_ERROR_PURCHASE_LIMIT_EXCEEDED = 4007,
TCGB_ERROR_PURCHASE_NOT_SUPPORTED_MARKET = 4010,
TCGB_ERROR_PURCHASE_EXTERNAL_LIBRARY_ERROR = 4201,
TCGB_ERROR_PURCHASE_UNKNOWN_ERROR = 4999,
TCGB_ERROR_PUSH_EXTERNAL_LIBRARY_ERROR = 5101,
TCGB_ERROR_PUSH_ALREADY_IN_PROGRESS_ERROR = 5102,
TCGB_ERROR_PUSH_UNKNOWN_ERROR = 5999,
TCGB_ERROR_LOGGER_NOT_INITIALIZED = 6001,
TCGB_ERROR_LOGGER_EXTERNAL_LIBRARY_ERROR = 6048,
TCGB_ERROR_LOGGER_UNKNOWN_ERROR = 6049,
TCGB_ERROR_UI_IMAGE_NOTICE_TIMEOUT = 6901,
TCGB_ERROR_UI_CONTACT_FAIL_INVALID_URL = 6911,
TCGB_ERROR_UI_CONTACT_FAIL_ISSUE_SHORT_TERM_TICKET = 6912,
TCGB_ERROR_UI_TERMS_NOT_EXIST_IN_CONSOLE = 6921,
TCGB_ERROR_UI_TERMS_NOT_EXIST_FOR_DEVICE_COUNTRY = 6922,
TCGB_ERROR_UI_TERMS_UNREGISTERED_SEQ = 6923,
TCGB_ERROR_UI_TERMS_ALREADY_IN_PROGRESS_ERROR = 6924,
TCGB_ERROR_UI_GAME_NOTICE_FAIL_INVALID_URL = 6941,
TCGB_ERROR_UI_UNKNOWN_ERROR = 6999,
TCGB_ERROR_WEBVIEW_INVALID_URL = 7001,
TCGB_ERROR_WEBVIEW_TIMEOUT = 7002,
TCGB_ERROR_WEBVIEW_HTTP_ERROR = 7003,
TCGB_ERROR_WEBVIEW_UNKNOWN_ERROR = 7999,
TCGB_ERROR_SERVER_INTERNAL_ERROR = 8001,
TCGB_ERROR_SERVER_REMOTE_SYSTEM_ERROR = 8002,
TCGB_ERROR_SERVER_INVALID_RESPONSE = 8003,
TCGB_ERROR_SERVER_UNKNOWN_ERROR = 8999,
TCGB_ERROR_UNKNOWN_ERROR = 9999,
TCGB_ERROR_INVALID_INTERNAL_STATE = 11001,
TCGB_ERROR_NOT_CALLABLE_STATE = 11002,
};`

#### Constants

`TCGB_ERROR_NOT_INITIALIZED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_LOGGED_IN`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_INVALID_PARAMETER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_INVALID_JSON_FORMAT`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_USER_PERMISSION`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_INVALID_MEMBER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_BANNED_MEMBER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SAME_REQUESTOR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_GUEST_OR_HAS_OTHERS`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED_ANDROID`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED_IOS`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED_UNITY_EDITOR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED_UNITY_STANDALONE`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_SUPPORTED_UNITY_WEBGL`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_ANDROID_ACTIVITY_DESTROYED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_ANDROID_ACTIVEAPP_NOT_CALLED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_IOS_GAMECENTER_DENIED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_IOS_CANNOT_OPEN_URL`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SOCKET_RESPONSE_TIMEOUT`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SOCKET_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SOCKET_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LAUNCHING_SERVER_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LAUNCHING_NOT_EXIST_CLIENT_ID`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LAUNCHING_UNREGISTERED_APP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LAUNCHING_UNREGISTERED_CLIENT`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_USER_CANCELED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_NOT_SUPPORTED_PROVIDER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_NOT_EXIST_MEMBER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_EXTERNAL_LIBRARY_INITIALIZATION_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_EXTERNAL_LIBRARY_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ALREADY_IN_PROGRESS_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_INVALID_GAMEBASE_TOKEN`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_AUTHENTICATION_SERVER_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_EXPIRED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_BLOCK`

  Declared In `TCGBConstants.h`.

`TCGB_ERORR_AUTH_TRANSFERACCOUNT_INVALID_ID`

  Declared In `TCGBConstants.h`.

`TCGB_ERORR_AUTH_TRANSFERACCOUNT_INVALID_PASSWORD`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_CONSOLE_NO_CONDITION`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_NOT_EXIST`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_ALREADY_EXIST_ID`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TRANSFERACCOUNT_ALREADY_USED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TOKEN_LOGIN_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TOKEN_LOGIN_INVALID_TOKEN_INFO`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_TOKEN_LOGIN_INVALID_LAST_LOGGED_IN_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_IDP_LOGIN_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_IDP_LOGIN_INVALID_IDP_INFO`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_IDP_LOGIN_EXTERNAL_AUTHENTICATION_REQUIRED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_ALREADY_MAPPED_TO_OTHER_MEMBER`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_ALREADY_HAS_SAME_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_INVALID_IDP_INFO`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_CANNOT_ADD_GUEST_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_NOT_EXIST_KEY`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_ALREADY_USED_KEY`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_EXPIRED_KEY`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_AUTHKEY`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_REMOVE_MAPPING_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_REMOVE_MAPPING_LAST_MAPPED_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_REMOVE_MAPPING_LOGGED_IN_IDP`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_LOGOUT_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_WITHDRAW_FAILED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_WITHDRAW_ALREADY_TEMPORARY_WITHDRAW`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_WITHDRAW_NOT_TEMPORARY_WITHDRAW`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_NOT_PLAYABLE`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_AUTH_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_NOT_INITIALIZED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_USER_CANCELED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_NOT_FINISHED_PREVIOUS_PURCHASING`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_NOT_ENOUGH_CASH`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_INACTIVE_PRODUCT_ID`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_NOT_EXIST_PRODUCT_ID`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_LIMIT_EXCEEDED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_NOT_SUPPORTED_MARKET`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_EXTERNAL_LIBRARY_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PURCHASE_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PUSH_EXTERNAL_LIBRARY_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PUSH_ALREADY_IN_PROGRESS_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_PUSH_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LOGGER_NOT_INITIALIZED`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LOGGER_EXTERNAL_LIBRARY_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_LOGGER_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_IMAGE_NOTICE_TIMEOUT`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_CONTACT_FAIL_INVALID_URL`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_CONTACT_FAIL_ISSUE_SHORT_TERM_TICKET`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_TERMS_NOT_EXIST_IN_CONSOLE`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_TERMS_NOT_EXIST_FOR_DEVICE_COUNTRY`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_TERMS_UNREGISTERED_SEQ`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_TERMS_ALREADY_IN_PROGRESS_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_GAME_NOTICE_FAIL_INVALID_URL`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UI_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_WEBVIEW_INVALID_URL`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_WEBVIEW_TIMEOUT`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_WEBVIEW_HTTP_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_WEBVIEW_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SERVER_INTERNAL_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SERVER_REMOTE_SYSTEM_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SERVER_INVALID_RESPONSE`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_SERVER_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_UNKNOWN_ERROR`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_INVALID_INTERNAL_STATE`

  Declared In `TCGBConstants.h`.

`TCGB_ERROR_NOT_CALLABLE_STATE`

  Declared In `TCGBConstants.h`.