epoc32/include/miut_err.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/miut_err.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,521 +0,0 @@
     1.4 -// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __MIUT_ERR_H__
    1.20 -#define __MIUT_ERR_H__
    1.21 -
    1.22 -// Minimum value for an MTM-specific error
    1.23 -/**
    1.24 -@publishedAll
    1.25 -@released
    1.26 -*/
    1.27 -const TInt KMiutErrorBase						= (-170);
    1.28 -
    1.29 -// POP3-specific error codes
    1.30 -
    1.31 -/**
    1.32 -@publishedAll
    1.33 -@released
    1.34 -*/
    1.35 -const TInt KPop3ErrorBase						= KMiutErrorBase;
    1.36 -
    1.37 -/**
    1.38 -@publishedAll
    1.39 -@released
    1.40 -*/
    1.41 -const TInt KPop3CannotConnect					= KPop3ErrorBase;
    1.42 -
    1.43 -/**
    1.44 -@publishedAll
    1.45 -@released
    1.46 -*/
    1.47 -const TInt KPop3InvalidUser						= KPop3ErrorBase-1;
    1.48 -
    1.49 -/**
    1.50 -@publishedAll
    1.51 -@released
    1.52 -*/
    1.53 -const TInt KPop3InvalidLogin					= KPop3ErrorBase-2;
    1.54 -
    1.55 -/**
    1.56 -@publishedAll
    1.57 -@released
    1.58 -*/
    1.59 -const TInt KPop3CannotCreateApopLogonString		= KPop3ErrorBase-3;
    1.60 -
    1.61 -/**
    1.62 -@publishedAll
    1.63 -@released
    1.64 -*/
    1.65 -const TInt KPop3ProblemWithRemotePopServer		= KPop3ErrorBase-4;
    1.66 -
    1.67 -/**
    1.68 -@publishedAll
    1.69 -@released
    1.70 -*/
    1.71 -const TInt KPop3CannotOpenServiceEntry			= KPop3ErrorBase-5;
    1.72 -
    1.73 -/**
    1.74 -@publishedAll
    1.75 -@released
    1.76 -*/
    1.77 -const TInt KPop3CannotSetRequiredFolderContext	= KPop3ErrorBase-6;
    1.78 -
    1.79 -/**
    1.80 -@publishedAll
    1.81 -@released
    1.82 -*/
    1.83 -const TInt KPop3InvalidApopLogin				= KPop3ErrorBase-7;
    1.84 -
    1.85 -/**
    1.86 -@publishedAll
    1.87 -@released
    1.88 -*/
    1.89 -const TInt KPopTopError							= (-179);
    1.90 -
    1.91 -// IMSK-specific error code
    1.92 -/**
    1.93 -@publishedAll
    1.94 -@released
    1.95 -*/
    1.96 -const TInt KImskBaseError						= (-180);
    1.97 -
    1.98 -/**
    1.99 -@publishedAll
   1.100 -@released
   1.101 -*/
   1.102 -const TInt KImskErrorDNSNotFound				= KImskBaseError;
   1.103 -
   1.104 -/**
   1.105 -@publishedAll
   1.106 -@released
   1.107 -*/
   1.108 -const TInt KImskErrorControlPanelLocked			= KImskBaseError-1;
   1.109 -
   1.110 -/**
   1.111 -@publishedAll
   1.112 -@released
   1.113 -*/
   1.114 -const TInt KImskErrorISPOrIAPRecordNotFound		= KImskBaseError-2;
   1.115 -
   1.116 -/**
   1.117 -@publishedAll
   1.118 -@released
   1.119 -*/
   1.120 -const TInt KImskErrorActiveSettingIsDifferent	= KImskBaseError-3;
   1.121 -
   1.122 -/**
   1.123 -@publishedAll
   1.124 -@released
   1.125 -*/
   1.126 -const TInt KImskSecuritySettingsFailed			= KImskBaseError-4;
   1.127 -
   1.128 -/**
   1.129 -@publishedAll
   1.130 -@released
   1.131 -*/
   1.132 -const TInt KImskSSLTLSNegotiateFailed			= KImskBaseError-5;
   1.133 -
   1.134 -/**
   1.135 -@publishedAll
   1.136 -@released
   1.137 -*/
   1.138 -const TInt KImskTopError						= (-190);
   1.139 -
   1.140 -// error codes -190 to -199 are used by Sockets
   1.141 -
   1.142 -// IMAP-specific error codes
   1.143 -/**
   1.144 -@publishedAll
   1.145 -@released
   1.146 -*/
   1.147 -const TInt KImapBaseError						= (-200);
   1.148 -
   1.149 -/**
   1.150 -@publishedAll
   1.151 -@released
   1.152 -*/
   1.153 -const TInt KErrImapConnectFail					= KImapBaseError;
   1.154 -
   1.155 -/**
   1.156 -@publishedAll
   1.157 -@released
   1.158 -*/
   1.159 -const TInt KErrImapServerFail					= KImapBaseError-1;
   1.160 -
   1.161 -/**
   1.162 -@publishedAll
   1.163 -@released
   1.164 -*/
   1.165 -const TInt KErrImapServerParse					= KImapBaseError-2;
   1.166 -
   1.167 -/**
   1.168 -@publishedAll
   1.169 -@released
   1.170 -*/
   1.171 -const TInt KErrImapServerBusy					= KImapBaseError-3;
   1.172 -
   1.173 -/**
   1.174 -@publishedAll
   1.175 -@released
   1.176 -*/
   1.177 -const TInt KErrImapServerVersion				= KImapBaseError-4;
   1.178 -
   1.179 -/**
   1.180 -@publishedAll
   1.181 -@released
   1.182 -*/
   1.183 -const TInt KErrImapSendFail						= KImapBaseError-5;
   1.184 -
   1.185 -/**
   1.186 -@publishedAll
   1.187 -@released
   1.188 -*/
   1.189 -const TInt KErrImapBadLogon						= KImapBaseError-6;
   1.190 -
   1.191 -/**
   1.192 -@publishedAll
   1.193 -@released
   1.194 -*/
   1.195 -const TInt KErrImapSelectFail					= KImapBaseError-7;
   1.196 -
   1.197 -/**
   1.198 -@publishedAll
   1.199 -@released
   1.200 -*/
   1.201 -const TInt KErrImapWrongFolder					= KImapBaseError-8;
   1.202 -
   1.203 -/**
   1.204 -@publishedAll
   1.205 -@released
   1.206 -*/
   1.207 -const TInt KErrImapServerNoSecurity				= KImapBaseError-9;
   1.208 -
   1.209 -/**
   1.210 -@publishedAll
   1.211 -@released
   1.212 -*/
   1.213 -const TInt KErrImapServerLoginDisabled			= KImapBaseError-10;
   1.214 -
   1.215 -/**
   1.216 -@publishedAll
   1.217 -@released
   1.218 -*/
   1.219 -const TInt KErrImapTLSNegotiateFailed  			= KImapBaseError-11;
   1.220 -
   1.221 -/**
   1.222 -@publishedAll
   1.223 -@released
   1.224 -*/
   1.225 -const TInt KErrImapCantDeleteFolder  			= KImapBaseError-12;
   1.226 -
   1.227 -/**
   1.228 -@publishedAll
   1.229 -@released
   1.230 -*/
   1.231 -const TInt KErrImapInvalidServerResponse  		= KImapBaseError-13;
   1.232 -
   1.233 -/**
   1.234 -@publishedAll
   1.235 -@released
   1.236 -*/
   1.237 -//This POP error declared in IMAP error range, 
   1.238 -//since there is no scope to declare the error within pop range. 
   1.239 -const TInt KErrPop3ServerAlreadyConnected 		= KImapBaseError-14;
   1.240 -
   1.241 -/**
   1.242 -@publishedAll
   1.243 -@released
   1.244 -*/
   1.245 -const TInt KImapTopError						= (-219);
   1.246 -
   1.247 -// DMSS-specific error codes
   1.248 -/**
   1.249 -@publishedAll
   1.250 -@released
   1.251 -*/
   1.252 -const TInt KDmssBaseError						= (-220);
   1.253 -
   1.254 -/**
   1.255 -@publishedAll
   1.256 -@released
   1.257 -*/
   1.258 -const TInt KDmssUnknownErr						= (KDmssBaseError-1);
   1.259 -
   1.260 -/**
   1.261 -@publishedAll
   1.262 -@released
   1.263 -*/
   1.264 -const TInt KDmssMailboxUnavailableErr			= (KDmssBaseError-2);
   1.265 -
   1.266 -/**
   1.267 -@publishedAll
   1.268 -@released
   1.269 -*/
   1.270 -const TInt KDmssActionAbortedErr				= (KDmssBaseError-3);
   1.271 -
   1.272 -/**
   1.273 -@publishedAll
   1.274 -@released
   1.275 -*/
   1.276 -const TInt KDmssActionNotTakenErr				= (KDmssBaseError-4);
   1.277 -
   1.278 -/**
   1.279 -@publishedAll
   1.280 -@released
   1.281 -*/
   1.282 -const TInt KDmssCmdUnrecognisedErr				= (KDmssBaseError-5);
   1.283 -
   1.284 -/**
   1.285 -@publishedAll
   1.286 -@released
   1.287 -*/
   1.288 -const TInt KDmssSyntaxErrorErr					= (KDmssBaseError-6);
   1.289 -
   1.290 -/**
   1.291 -@publishedAll
   1.292 -@released
   1.293 -*/
   1.294 -const TInt KDmssCmdNotImplementedErr			= (KDmssBaseError-7);
   1.295 -
   1.296 -/**
   1.297 -@publishedAll
   1.298 -@released
   1.299 -*/
   1.300 -const TInt KDmssBadSequenceErr					= (KDmssBaseError-8);
   1.301 -
   1.302 -/**
   1.303 -@publishedAll
   1.304 -@released
   1.305 -*/
   1.306 -const TInt KDmssParamNotImplementedErr			= (KDmssBaseError-9);
   1.307 -
   1.308 -/**
   1.309 -@publishedAll
   1.310 -@released
   1.311 -*/
   1.312 -const TInt KDmssMailboxNoAccessErr				= (KDmssBaseError-10);
   1.313 -
   1.314 -/**
   1.315 -@publishedAll
   1.316 -@released
   1.317 -*/
   1.318 -const TInt KDmssExceededStorageErr				= (KDmssBaseError-11);
   1.319 -
   1.320 -/**
   1.321 -@publishedAll
   1.322 -@released
   1.323 -*/
   1.324 -const TInt KDmssMailboxNameErr					= (KDmssBaseError-12);
   1.325 -
   1.326 -/**
   1.327 -@publishedAll
   1.328 -@released
   1.329 -*/
   1.330 -const TInt KDmssTransactionFailedErr			= (KDmssBaseError-13);
   1.331 -
   1.332 -/**
   1.333 -@publishedAll
   1.334 -@released
   1.335 -*/
   1.336 -const TInt KDmssTimeOutErr						= (KDmssBaseError-14);
   1.337 -
   1.338 -/**
   1.339 -@publishedAll
   1.340 -@released
   1.341 -*/
   1.342 -const TInt KDmssTopError						= (-239);
   1.343 -
   1.344 -// SMTP client-specific error codes
   1.345 -/**
   1.346 -@publishedAll
   1.347 -@released
   1.348 -*/
   1.349 -const TInt KSmtpBaseError						= (-240);
   1.350 -
   1.351 -/**
   1.352 -@publishedAll
   1.353 -@released
   1.354 -*/
   1.355 -const TInt KSmtpNoMailFromErr					=  KSmtpBaseError;
   1.356 -
   1.357 -/**
   1.358 -@publishedAll
   1.359 -@released
   1.360 -*/
   1.361 -const TInt KSmtpUnknownErr						= (KSmtpBaseError-1);
   1.362 -
   1.363 -/**
   1.364 -@publishedAll
   1.365 -@released
   1.366 -*/
   1.367 -const TInt KSmtpBadMailFromAddress				= (KSmtpBaseError-2);
   1.368 -
   1.369 -/**
   1.370 -@publishedAll
   1.371 -@released
   1.372 -*/
   1.373 -const TInt KSmtpBadRcptToAddress				= (KSmtpBaseError-3);
   1.374 -
   1.375 -/**
   1.376 -@publishedAll
   1.377 -@released
   1.378 -*/
   1.379 -const TInt KSmtpLoginRefused					= (KSmtpBaseError-4);
   1.380 -
   1.381 -/**
   1.382 -@publishedAll
   1.383 -@released
   1.384 -*/
   1.385 -const TInt KSmtpNoMsgsToSendWithActiveSettings	= (KSmtpBaseError-5);
   1.386 -
   1.387 -/**
   1.388 -@publishedAll
   1.389 -@released
   1.390 -*/
   1.391 -const TInt KErrSmtpTLSNegotiateFailed 			= (KSmtpBaseError-6);
   1.392 -
   1.393 -/**
   1.394 -@publishedAll
   1.395 -@released
   1.396 -*/
   1.397 -const TInt KErrSmtpBufferOverFlow 			    = (KSmtpBaseError-7);
   1.398 -
   1.399 -/**
   1.400 -@publishedAll
   1.401 -@released
   1.402 -*/
   1.403 -const TInt KSmtpTopError					    = (-249);
   1.404 - 
   1.405 -// IMCM error codes
   1.406 -/**
   1.407 -@publishedAll
   1.408 -@released
   1.409 -*/
   1.410 -const TInt KImcmBaseError						= (-250);
   1.411 -
   1.412 -/**
   1.413 -@publishedAll
   1.414 -@released
   1.415 -*/
   1.416 -const TInt KImcmHTMLPartNotPopulated			=  KImcmBaseError;
   1.417 -
   1.418 -/**
   1.419 -@publishedAll
   1.420 -@released
   1.421 -*/
   1.422 -const TInt KImcmInvalidMessageStructure			= (KImcmBaseError-1);
   1.423 -
   1.424 -// POPS error codes
   1.425 -/**
   1.426 -@publishedAll
   1.427 -@released
   1.428 -*/
   1.429 -const TInt KPop3BaseError						= (-260);
   1.430 -
   1.431 -/**
   1.432 -@publishedAll
   1.433 -@released
   1.434 -*/
   1.435 -const TInt KErrPop3TLSNegotiateFailed			=  KPop3BaseError;
   1.436 -
   1.437 -/**
   1.438 -@internalComponent
   1.439 -@released
   1.440 -*/
   1.441 -enum TImcmPanic
   1.442 -	{
   1.443 -	EOffOpNoBodyText = 0,
   1.444 -	EOffOpBadMtmTypeUid = 1,
   1.445 -	EOffOpNoCMsvEntrySet = 2,
   1.446 -	EOffOpEntryShouldBeFolder = 3,
   1.447 -	EOffOpTwoSameLinesNotAllowed = 4,
   1.448 -	EOffOpNoMemory = 5,
   1.449 -	EOffOpInvalidConstruction = 6,
   1.450 -	EOffOpListOutOfSync = 7,
   1.451 -	EOffOpNoMtmParameters = 8,
   1.452 -	EMiutBadStreamVersion = 9,
   1.453 -	EEntryIsNotMessage = 10,
   1.454 -	EMiutArrayHasOddNumberOfElements = 11,		// ie there should be even number of entries in array
   1.455 -	EMiutLocalServiceIdSet = 12,				// iServiceId should not be set to Local
   1.456 -	EPopcMTMNoBodyText = 13,
   1.457 -	EPopcMTMBadMtmTypeUid = 14,
   1.458 -	EPopcMTMNoCMsvEntrySet = 15,
   1.459 -	EPopcMTMOperationNULL = 16,
   1.460 -	EPopcMTMNotAServiceEntry = 17,
   1.461 -	EPopcUnknownNewEmailType = 18,
   1.462 -	EPopcUnknownSyncFunction = 19,
   1.463 -	ESmtcMTMNoBodyText = 20,
   1.464 -	ESmtcMTMBadMtmTypeUid = 21,
   1.465 -	ESmtcMTMNoCMsvEntrySet = 22,
   1.466 -	ESmtcMTMOperationNULL = 23,
   1.467 -	ESmtcMTMNotAServiceEntry = 24,
   1.468 -	ESmtcUnknownNewEmailType = 25,
   1.469 -	ESmtcUnknownSyncFunction = 26,
   1.470 -	ESmtcMTMStoringBadEntryType = 27,
   1.471 -	ESmtcMTMRestoringBadEntryType = 28,
   1.472 -	ESmtcMTMNotAMessageEntry = 29,
   1.473 -	EMiutActiveInFinalProgress = 30,
   1.474 -	EImpcNoBodyText = 31,
   1.475 -	EImpcBadMtmTypeUid = 32,
   1.476 -	EImpcNoCMsvEntrySet = 33,
   1.477 -	EImpcEntryShouldBeFolder = 34,
   1.478 -	EImpcTwoSameLinesNotAllowed = 35,
   1.479 -	EImpcNoMemory = 36,
   1.480 -	EImpcInvalidConstruction = 37,
   1.481 -	EImpcBadServiceEntry = 38,
   1.482 -	EImpcNoBaseMtm = 39,
   1.483 -	EImpcNoAddresseeList = 40,
   1.484 -	EImpcInvalidProgress = 41,
   1.485 -	EImpcNotSupported = 42,
   1.486 -	EImpcMTMNotAMessageEntry = 43,
   1.487 -	EImpcMTMNotAServiceEntry = 44,
   1.488 -	EImcmMessageEntryHasMoreThanOneFolder = 45,
   1.489 -	EImcmUnknownState = 46,
   1.490 -	EImcmFinalProgressFailed = 47,
   1.491 -	EImcmNoEikonEnvironment = 48,
   1.492 -	EImcmSetVersionNotSupported = 49,
   1.493 -	EImcmSystemDefaultCharsetNotSupported = 50,
   1.494 - 	EImcmHtmlConverterNotFound = 51,
   1.495 -	EImcmUnknownMtm = 52,
   1.496 -	EImEmailOpUnknownAttachmentType = 53,
   1.497 -	EImcmNonIdleRetrievalState = 54,
   1.498 -	EImcmIdleRetrievalState = 55,
   1.499 -	EImcmSyncDownloadRulesInvalidPos1 = 56,
   1.500 -	EImcmSyncDownloadRulesInvalidPos2 = 57,
   1.501 -	EImcmSyncDownloadRulesInvalidPos3 = 58,
   1.502 -	EImcmSyncDownloadRulesInvalidBearerTypes1 = 59,
   1.503 -	EImcmSyncDownloadRulesInvalidBearerTypes2 = 60,
   1.504 -	EImcmSyncDownloadRulesInvalidBearerTypes3 = 61,
   1.505 -	EImcmTransportBufferSizesInvalidPos1 = 62,
   1.506 -	EImcmTransportBufferSizesInvalidPos2 = 63,
   1.507 -	EImcmTransportBufferSizesInvalidPos3 = 64,
   1.508 -	EImcmTransportBufferSizesInvalidBearerTypes1 = 65,
   1.509 -	EImcmTransportBufferSizesInvalidBearerTypes2 = 66,
   1.510 -	EImcmTransportBufferSizesInvalidBearerTypes3 = 67,
   1.511 -	EImcmTransportBufferSizesInvalidFetchRequestSize = 68,
   1.512 -	EImcmTransportBufferSizesInvalidMaxOutstandingFetchResponses = 69,
   1.513 -	EImcmMobilityAccountsListInvalidPos1 = 70,
   1.514 -	EImcmMobilityAccountsListInvalidPos2 = 71,
   1.515 -	EImcmMobilityAccountsListInvalidPos3 = 72,
   1.516 -	EImcmMobilityAccountsListInvalidIAPListCount = 73
   1.517 -	};
   1.518 -
   1.519 -/**
   1.520 -@internalComponent
   1.521 -*/
   1.522 -GLREF_C void gPanic(TImcmPanic aPanic);
   1.523 -
   1.524 -#endif // __MIUT_ERR_H__