From 83c38ef95c18b7bb504ae246f2821e04416c5539 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Wed, 20 May 2015 20:29:58 +0000 Subject: Extended MSN error code list for the sake of documentation git-svn-id: http://svn.miranda-ng.org/main/trunk@13723 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_errors.cpp | 2 +- protocols/MSN/src/msn_global.h | 55 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/MSN/src/msn_errors.cpp b/protocols/MSN/src/msn_errors.cpp index 8e6a3a232a..916ce9070e 100644 --- a/protocols/MSN/src/msn_errors.cpp +++ b/protocols/MSN/src/msn_errors.cpp @@ -54,7 +54,7 @@ int CMsnProto::MSN_HandleErrors(ThreadData* info, char* cmdString) MSN_ShowError("User is already in your contact list"); return 0; - case ERR_CONTACT_LIST_FAILED: + case ERR_DETAILED_ERR_IN_PAYLOAD: case ERR_LIST_UNAVAILABLE: char* tWords[4]; if (sttDivideWords(cmdString, SIZEOF(tWords), tWords) == SIZEOF(tWords)) diff --git a/protocols/MSN/src/msn_global.h b/protocols/MSN/src/msn_global.h index b9ae399714..c67555d59e 100644 --- a/protocols/MSN/src/msn_global.h +++ b/protocols/MSN/src/msn_global.h @@ -78,6 +78,8 @@ along with this program. If not, see . #define ERR_SYNTAX_ERROR 200 #define ERR_INVALID_PARAMETER 201 +#define ERR_INVALID_FEDERATED_USER 203 +#define ERR_UNROUTABLE_USER 204 #define ERR_INVALID_USER 205 #define ERR_FQDN_MISSING 206 #define ERR_ALREADY_LOGIN 207 @@ -89,21 +91,56 @@ along with this program. If not, see . #define ERR_NOT_ONLINE 217 #define ERR_ALREADY_IN_THE_MODE 218 #define ERR_ALREADY_IN_OPPOSITE_LIST 219 -#define ERR_CONTACT_LIST_FAILED 241 +#define ERR_NOT_ACCEPTING_PAGES 220 +#define ERR_INVALID_MSISDN 232 +#define ERR_UNKNOWN_MSISDN 233 +#define ERR_UNKNOWN_KEITAI_DOMAIN 234 +#define ERR_INVALID_XML_DATA 240 +#define ERR_DETAILED_ERR_IN_PAYLOAD 241 #define ERR_SWITCHBOARD_FAILED 280 #define ERR_NOTIFY_XFR_FAILED 281 +#define ERR_UNKNOWN_P2P_APP 282 +#define ERR_UNKNOWN_UUN_APP 283 +#define ERR_MESSAGE_TOO_LONG 285 +#define ERR_SMS_JUST_OUT_OF_FUNDS 290 #define ERR_REQUIRED_FIELDS_MISSING 300 #define ERR_NOT_LOGGED_IN 302 +#define ERR_ADDRESS_BOOK 403 +#define ERR_SMS_SUBSCRIPTION_REQUIRED 413 +#define ERR_SMS_SUBSCRIPTION_DISABLED 414 +#define ERR_SMS_OUT_OF_FUNDS 415 +#define ERR_SMS_DISABLED_MARKET 416 +#define ERR_SMS_DISABLED_GLOBAL 417 +#define ERR_TRY_AGAIN_LATER 418 +#define ERR_NO_MARKET_SPECIFIED 419 #define ERR_INTERNAL_SERVER 500 #define ERR_DB_SERVER 501 +#define ERR_UPSDOWN 504 #define ERR_LIST_UNAVAILABLE 508 +#define ERR_PAGE_MODE_MESSAGE 509 #define ERR_FILE_OPERATION 510 +#define ERR_DETAILED_ERR 511 #define ERR_MEMORY_ALLOC 520 +#define ERR_OIM_NOT_SUPPORTED 537 +#define ERR_SMS_ACCOUNT_MUTED 550 +#define ERR_SMS_ACCOUNT_DISABLED 551 +#define ERR_SMS_ACCOUNT_MAXED 552 +#define ERR_SMS_INTERNAL_SERVER 580 +#define ERR_SMS_CARRIER_INVALID 590 +#define ERR_SMS_CARRIER_NO_ROUTE 591 +#define ERR_SMS_CARRIER_ERRORED 592 +#define ERR_SMS_ADDRESS_MAPPING_FULL 593 +#define ERR_SMS_INCORRECT_SOURCE_CTRY 594 +#define ERR_SMS_MOBILE_CACHE_FULL 595 +#define ERR_SMS_INCORRECT_FORMAT 596 +#define ERR_SMS_INVALID_TEXT 597 +#define ERR_SMS_MESSAGE_TOO_LONG 598 #define ERR_SERVER_BUSY 600 #define ERR_SERVER_UNAVAILABLE 601 #define ERR_PEER_NS_DOWN 602 #define ERR_DB_CONNECT 603 #define ERR_SERVER_GOING_DOWN 604 +#define ERR_PAGING_UNAVAILABLE 606 #define ERR_CREATE_CONNECTION 707 #define ERR_INVALID_LOCALE 710 #define ERR_BLOCKING_WRITE 711 @@ -112,10 +149,26 @@ along with this program. If not, see . #define ERR_TOO_MANY_SESSIONS 714 #define ERR_NOT_EXPECTED 715 #define ERR_BAD_FRIEND_FILE 717 +#define ERR_USER_RESTRICTED 718 +#define ERR_SESSION_FEDERATED 719 +#define ERR_USER_FEDERATED 726 +#define ERR_ROAMING_LOGOFF 733 +#define ERR_TOO_MANY_ENDPOINTS 734 +#define ERR_RATE_LIMIT_EXCEEDED 800 +#define ERR_PER_USER_LOGIN_LIMIT_EXCEED 803 #define ERR_AUTHENTICATION_FAILED 911 #define ERR_NOT_ALLOWED_WHEN_OFFLINE 913 +#define ERR_ACCOUNT_COMPROMISED 915 #define ERR_NOT_ACCEPTING_NEW_USERS 920 +#define ERR_TIMEDOUT 921 +#define ERR_CHILD_WITHOUT_FULL_CONSENT 923 #define ERR_EMAIL_ADDRESS_NOT_VERIFIED 924 +#define ERR_MGED_USER_LTD_ACC_WRONG_CLNT 926 +#define ERR_MGED_USER_ACCESS_DENIED 927 +#define ERR_AUTH 928 +#define ERR_DOMAIN_RESERVED 931 +#define ERR_INVALID_CONTACT_LIST 933 +#define ERR_INVALID_SIGNATURE 935 ///////////////////////////////////////////////////////////////////////////////////////// // Global definitions -- cgit v1.2.3