diff --git a/bot.py b/bot.py index d1baf3a..0b65d5d 100644 --- a/bot.py +++ b/bot.py @@ -64,16 +64,54 @@ error_codes = """ 202014: Invalid size 202015: Invalid address 202016: Unaligned data -204013: Try another credit card or contact your credit card provider -204017: Wii Points Card invalid -204038: Wireless interferences? -204042: User is not registered with the server -204961: SSL cipher error when trying to communicate with SOAP servers -204050: You do not own a title; ticket not found -204036: Problem importing title metadata -204035: Problem importing ticket -204037: Problem importing title content -204034: Invalid SOAP response +204001: EC_ERROR_FAIL: Generic error +204002: EC_ERROR_NOT_SUPPORTED: Feature not implemented +204003: EC_ERROR_INSUFFICIENT_RESOURCE +204004: EC_ERROR_INVALID +204005: EC_ERROR_NOMEM +204006: EC_ERROR_NOT_FOUND +204007: EC_ERROR_NOT_BUSY: no active async operation +204008: EC_ERROR_BUSY +204009: EC_ERROR_NOT_DONE +204013: EC_ERROR_NET_NA: Internet access not available +204015: EC_ERROR_WS_REPORT: Server reports a problem +204017: EC_ERROR_ECARD: Invalid eCard +204018: EC_ERROR_OVERFLOW: Output too big for buf provided +204019: EC_ERROR_NET_CONTENT: Error getting content from server +204020: EC_ERROR_CONTENT_SIZE: Downloaded content size doesn't match tmd +204034: EC_ERROR_WS_RESP: invalid web service response +204035: EC_ERROR_TICKET: problem importing ticket +204036: EC_ERROR_TITLE: problem importing title +204037: EC_ERROR_TITLE_CONTENT: problem importing title content +204038: EC_ERROR_CANCELED: an extended operation was canceled +204039: EC_ERROR_ALREADY: one time only action was previously done +204041: EC_ERROR_INIT: library has not been initialized +204042: EC_ERROR_REGISTER: device is not registered +204043: EC_ERROR_WS_RECV: recv error on web service response +204044: EC_ERROR_NOT_ACTIVE: expected operation is not active op +204045: EC_ERROR_FILE_READ +204046: EC_ERROR_FILE_WRITE +204050: EC_ERROR_NOT_OWNED: Title is not owned +204052: EC_ERROR_HTTP_HDR_PARSE: Could not parse http header +204053: EC_ERROR_CONFIG: Invalid configuration (e.g. url is invalid) +204054: EC_ERROR_CANCEL_FAILED: Could not cancel asynchronous operaton +204055: EC_ERROR_USER_INODES: Operation would exceed max user inodes +204056: EC_ERROR_USER_BLOCKS: Operation would exceed max user blocks +204057: EC_ERROR_SYS_INODES: Operation would exceed max sys inodes +204058: EC_ERROR_SYS_BLOCKS: Operation would exceed max sys blocks +204065: EC_ERROR_NO_DEVICE_CODE: Operation requires device code +204066: EC_ERROR_SYNC: Operation requres ticket sync +204069: EC_ERROR_CONNECT: Operation requires EC_Connect() +204070: EC_ERROR_NO_TMD: Title TMD is not on device +204071: EC_ERROR_FIRMWARE: Title requires updated firmware +204074: EC_ERROR_INVALID_PCPW: Parental control password doesn't match +204075: EC_ERROR_PC_DISABLED: Parental control is not enabled +204076: EC_ERROR_EULA: Customer has not agreed to EULA +204077: EC_ERROR_AGE_RESTRICTED: Operation requires parental control password +204078: EC_ERROR_POINTS_RESTRICTED: Operation requires parental control password +204079: EC_ERROR_ALREADY_OWN: Attempt purchase already owned item +204080: EC_ERROR_SHOP_SETUP: Shop channel setup not done or cleared +204081: EC_ERROR_INSUFFICIENT_FUNDS: Not enough funds to purchase the item 204501: HTTP 201 Created 204502: HTTP 202 Accepted 204503: HTTP 203 Non-Authoritative Information @@ -112,8 +150,40 @@ error_codes = """ 204804: HTTP 504 Gateway Timeout 204805: HTTP 505 HTTP Version Not Supported 204811: HTTP 511 Network Authentication Required -204900-204959: NHTTP Error range -204960-204979: EC SSL Error range +204901: NHTTP_ERROR_ALLOC +204902: NHTTP_ERROR_TOOMANYREQ +204903: NHTTP_ERROR_SOCKET +204904: NHTTP_ERROR_DNS +204905: NHTTP_ERROR_CONNECT +204906: NHTTP_ERROR_BUFFULL +204907: NHTTP_ERROR_HTTPPARSE +204908: NHTTP_ERROR_CANCELED +204909: NHTTP_ERROR_REVOLUTIONSDK +204910: NHTTP_ERROR_REVOLUTIONWIFI +204911: NHTTP_ERROR_UNKNOWN +204912: NHTTP_ERROR_DNS_PROXY +204913: NHTTP_ERROR_CONNECT_PROXY +204914: NHTTP_ERROR_SSL +204961: SSL_EFAILED +204962: SSL_EWANT_READ +204963: SSL_EWANT_WRITE +204964: SSL_ESYSCALL +204965: SSL_EZERO_RETURN +204966: SSL_EWANT_CONNECT +204967: SSL_ESSLID +204968: SSL_EVERIFY_COMMON_NAME +204969: SSL_EVERIFY_ROOT_CA +204970: SSL_EVERIFY_CHAIN +204971: SSL_EVERIFY_DATE +204972: SSL_EGET_SERVER_CERT +204992: EC_ERROR_NHTTP_CRX +204993: EC_ERROR_NHTTP_AHF +204994: EC_ERROR_NHTTP_SCCD +204995: EC_ERROR_NHTTP_SRCD +204996: EC_ERROR_NHTTP_SVO +204997: EC_ERROR_NHTTP_PDE +204998: EC_ERROR_NHTTP_PDR +204999: EC_ERROR_NHTTP_SRA 20955X: 2-7 Timeout occurred between client and server 204704: Equivalent to a HTTP 404 error 2056XX: ECS Error