epoc32/include/app/miut_err.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
       
    14 // MIUT_ERR.H
    14 //
    15 //
       
    16 
       
    17 /**
       
    18  * @file 
       
    19  * @publishedAll
       
    20  * @released
       
    21  */
    15 
    22 
    16 #ifndef __MIUT_ERR_H__
    23 #ifndef __MIUT_ERR_H__
    17 #define __MIUT_ERR_H__
    24 #define __MIUT_ERR_H__
    18 
    25 
    19 // Minimum value for an MTM-specific error
    26 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS  
       
    27 #include "miut_errconsts.h"
       
    28 #endif
       
    29 
    20 /**
    30 /**
    21 @publishedAll
    31 @publishedAll
    22 @released
    32 @released
    23 */
    33 */
    24 const TInt KMiutErrorBase						= (-170);
    34 const TInt KMiutErrorBase						= (-170);
    76 /**
    86 /**
    77 @publishedAll
    87 @publishedAll
    78 @released
    88 @released
    79 */
    89 */
    80 const TInt KPop3InvalidApopLogin				= KPop3ErrorBase-7;
    90 const TInt KPop3InvalidApopLogin				= KPop3ErrorBase-7;
       
    91 
       
    92 /**
       
    93 @publishedAll
       
    94 @released
       
    95 */
       
    96 // if Authentcation flag is ON, Fallback flag is OFF and email server doesn't support CRAM-MD5 
       
    97 // authentication mechanism, then KPop3AuthenticationFailed error will be returned.
       
    98 const TInt KPop3AuthenticationFailed			= KPop3ErrorBase-8;
       
    99 
    81 
   100 
    82 /**
   101 /**
    83 @publishedAll
   102 @publishedAll
    84 @released
   103 @released
    85 */
   104 */
   233 */
   252 */
   234 //This POP error declared in IMAP error range, 
   253 //This POP error declared in IMAP error range, 
   235 //since there is no scope to declare the error within pop range. 
   254 //since there is no scope to declare the error within pop range. 
   236 const TInt KErrPop3ServerAlreadyConnected 		= KImapBaseError-14;
   255 const TInt KErrPop3ServerAlreadyConnected 		= KImapBaseError-14;
   237 
   256 
       
   257 
       
   258 /**
       
   259 @publishedAll
       
   260 @released
       
   261 */
       
   262 // if Authentcation flag is ON, Fallback flag is OFF and email server doesn't support CRAM-MD5 
       
   263 // authentication mechanism, then KErrImapAuthenticationFailed error will be returned.
       
   264 const TInt KErrImapAuthenticationFailed		= 	KImapBaseError-15;
       
   265 
   238 /**
   266 /**
   239 @publishedAll
   267 @publishedAll
   240 @released
   268 @released
   241 */
   269 */
   242 const TInt KImapTopError						= (-219);
   270 const TInt KImapTopError						= (-219);
   429 @publishedAll
   457 @publishedAll
   430 @released
   458 @released
   431 */
   459 */
   432 const TInt KErrPop3TLSNegotiateFailed			=  KPop3BaseError;
   460 const TInt KErrPop3TLSNegotiateFailed			=  KPop3BaseError;
   433 
   461 
   434 /**
       
   435 @internalComponent
       
   436 @released
       
   437 */
       
   438 enum TImcmPanic
       
   439 	{
       
   440 	EOffOpNoBodyText = 0,
       
   441 	EOffOpBadMtmTypeUid = 1,
       
   442 	EOffOpNoCMsvEntrySet = 2,
       
   443 	EOffOpEntryShouldBeFolder = 3,
       
   444 	EOffOpTwoSameLinesNotAllowed = 4,
       
   445 	EOffOpNoMemory = 5,
       
   446 	EOffOpInvalidConstruction = 6,
       
   447 	EOffOpListOutOfSync = 7,
       
   448 	EOffOpNoMtmParameters = 8,
       
   449 	EMiutBadStreamVersion = 9,
       
   450 	EEntryIsNotMessage = 10,
       
   451 	EMiutArrayHasOddNumberOfElements = 11,		// ie there should be even number of entries in array
       
   452 	EMiutLocalServiceIdSet = 12,				// iServiceId should not be set to Local
       
   453 	EPopcMTMNoBodyText = 13,
       
   454 	EPopcMTMBadMtmTypeUid = 14,
       
   455 	EPopcMTMNoCMsvEntrySet = 15,
       
   456 	EPopcMTMOperationNULL = 16,
       
   457 	EPopcMTMNotAServiceEntry = 17,
       
   458 	EPopcUnknownNewEmailType = 18,
       
   459 	EPopcUnknownSyncFunction = 19,
       
   460 	ESmtcMTMNoBodyText = 20,
       
   461 	ESmtcMTMBadMtmTypeUid = 21,
       
   462 	ESmtcMTMNoCMsvEntrySet = 22,
       
   463 	ESmtcMTMOperationNULL = 23,
       
   464 	ESmtcMTMNotAServiceEntry = 24,
       
   465 	ESmtcUnknownNewEmailType = 25,
       
   466 	ESmtcUnknownSyncFunction = 26,
       
   467 	ESmtcMTMStoringBadEntryType = 27,
       
   468 	ESmtcMTMRestoringBadEntryType = 28,
       
   469 	ESmtcMTMNotAMessageEntry = 29,
       
   470 	EMiutActiveInFinalProgress = 30,
       
   471 	EImpcNoBodyText = 31,
       
   472 	EImpcBadMtmTypeUid = 32,
       
   473 	EImpcNoCMsvEntrySet = 33,
       
   474 	EImpcEntryShouldBeFolder = 34,
       
   475 	EImpcTwoSameLinesNotAllowed = 35,
       
   476 	EImpcNoMemory = 36,
       
   477 	EImpcInvalidConstruction = 37,
       
   478 	EImpcBadServiceEntry = 38,
       
   479 	EImpcNoBaseMtm = 39,
       
   480 	EImpcNoAddresseeList = 40,
       
   481 	EImpcInvalidProgress = 41,
       
   482 	EImpcNotSupported = 42,
       
   483 	EImpcMTMNotAMessageEntry = 43,
       
   484 	EImpcMTMNotAServiceEntry = 44,
       
   485 	EImcmMessageEntryHasMoreThanOneFolder = 45,
       
   486 	EImcmUnknownState = 46,
       
   487 	EImcmFinalProgressFailed = 47,
       
   488 	EImcmNoEikonEnvironment = 48,
       
   489 	EImcmSetVersionNotSupported = 49,
       
   490 	EImcmSystemDefaultCharsetNotSupported = 50,
       
   491  	EImcmHtmlConverterNotFound = 51,
       
   492 	EImcmUnknownMtm = 52,
       
   493 	EImEmailOpUnknownAttachmentType = 53,
       
   494 	EImcmNonIdleRetrievalState = 54,
       
   495 	EImcmIdleRetrievalState = 55,
       
   496 	EImcmSyncDownloadRulesInvalidPos1 = 56,
       
   497 	EImcmSyncDownloadRulesInvalidPos2 = 57,
       
   498 	EImcmSyncDownloadRulesInvalidPos3 = 58,
       
   499 	EImcmSyncDownloadRulesInvalidBearerTypes1 = 59,
       
   500 	EImcmSyncDownloadRulesInvalidBearerTypes2 = 60,
       
   501 	EImcmSyncDownloadRulesInvalidBearerTypes3 = 61,
       
   502 	EImcmTransportBufferSizesInvalidPos1 = 62,
       
   503 	EImcmTransportBufferSizesInvalidPos2 = 63,
       
   504 	EImcmTransportBufferSizesInvalidPos3 = 64,
       
   505 	EImcmTransportBufferSizesInvalidBearerTypes1 = 65,
       
   506 	EImcmTransportBufferSizesInvalidBearerTypes2 = 66,
       
   507 	EImcmTransportBufferSizesInvalidBearerTypes3 = 67,
       
   508 	EImcmTransportBufferSizesInvalidFetchRequestSize = 68,
       
   509 	EImcmTransportBufferSizesInvalidMaxOutstandingFetchResponses = 69,
       
   510 	EImcmMobilityAccountsListInvalidPos1 = 70,
       
   511 	EImcmMobilityAccountsListInvalidPos2 = 71,
       
   512 	EImcmMobilityAccountsListInvalidPos3 = 72,
       
   513 	EImcmMobilityAccountsListInvalidIAPListCount = 73
       
   514 	};
       
   515 
       
   516 /**
       
   517 @internalComponent
       
   518 */
       
   519 GLREF_C void gPanic(TImcmPanic aPanic);
       
   520 
   462 
   521 #endif // __MIUT_ERR_H__
   463 #endif // __MIUT_ERR_H__