/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*
*/


NAME ERRR

//#include <eikon.rh>
#include "externals.rh"
#include "errorres.rh"



RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

#include "textresolver.hrh"
#include <errorres.loc>
#include <platform.loc>

RESOURCE TBUF R_LOCALIZED_CONTEXT_SEPARATOR { buf = qtn_err_context_separator; }
RESOURCE TBUF r_base {buf = qtn_err_ctx_os;}  
RESOURCE TBUF r_mail {buf = qtn_err_ctx_email;} 
RESOURCE TBUF r_internet {buf = qtn_err_ctx_internet;} 
RESOURCE TBUF r_gprs {buf = qtn_err_ctx_gprs;}
RESOURCE TBUF r_sms {buf = qtn_err_ctx_sms;} 
RESOURCE TBUF r_mms {buf = qtn_err_ctx_mms;} 
RESOURCE TBUF r_rb {buf = qtn_err_ctx_rb;} 
RESOURCE TBUF r_bt {buf = qtn_err_ctx_bt;} 

RESOURCE ERROR_SET r_error_res_base_list
	{
	errorarrays=
		{
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=0;	// KErrNone
			errors=r_error_res_base_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-170;	// KPop3CannotConnect
			errors=r_error_res_email_pop3_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-180;	// KImskErrorDNSNotFound
			errors=r_error_res_email_imsk_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-190;	// KErrNetUnreach
			errors=r_error_res_socket_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-200;	// KErrImapConnectFail
			errors=r_error_res_email_imap_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-240;	// KErrImapConnectFail
			errors=r_error_res_email_smtp_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-260;	// KErrImapConnectFail
			errors=r_error_res_email_pops_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;		// Etel errors
			startError=-2013;	// KErrEtelPortNotLoanedToClient
			errors=r_error_res_gprs_error2;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-3001;	// KNetdialErrorBase
			errors=r_error_res_network_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-3050;	// KErrIfAuthenticationFailure
			errors=r_error_res_tcpip_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_gprs;
			startError=-3609;	// KErrNoGPRSNetwork
			errors=r_error_res_gprs_error3;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_gprs;
			startError=-4135;	// KErrgprsServicesNotAllowed
			errors=r_error_res_gprs_error;
			},
	        ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4257; //KErrGsmCCUnassignedNumber
            		errors=r_error_res_call_error1;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4273;   // KErrGsmCCUserBusy	
            		errors=r_error_res_call_error2;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4335;   // KErrGsmCCServiceNotImplemented
            		errors=r_error_res_call_error3;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4367;   // KErrGsmCCUnspecifiedProtocolError	
            		errors=r_error_res_call_error4;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4383;   // KErrGsmCCUnspecifiedInterworkingError		
            		errors=r_error_res_call_error5;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-4356;   // KErrGsmCCConditionalEError
            		errors=r_error_res_call_error5;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4513;   // KErrGsmSMSUnassignedNumber
            		errors=r_error_res_sms_error1;
            		},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4520;   // KErrGsmSMSOperatorDeterminedBarring
	        	errors=r_error_res_sms_error2;
      	      		},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4529;   // KErrGsmSMSNetworkFailure
	            errors=r_error_res_sms_error3;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4533;   // KErrGsmSMSShortMessageTransferRejected
	            errors=r_error_res_sms_error4;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4539;   // KErrGsmSMSDestinationOutOfOrder
	            errors=r_error_res_sms_error5;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4550;   // KErrGsmSMSDestinationOutOfOrder
	            errors=r_error_res_sms_error6;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4553;   // KErrGsmSMSTemporaryFailure
	            errors=r_error_res_sms_error7;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4559;   // KErrGsmSMSResourcesUnavailable
      	      errors=r_error_res_sms_error8;
	            },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4562;   // KErrGsmSMSRequestedFacilityNotSubscribed
	            errors=r_error_res_sms_error9;
      	      },
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4581;   // KErrGsmSMSRequestedFacilityNotImplemented
            	errors=r_error_res_sms_error10;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4593;   // KErrGsmSMSInvalidShortMessageTransferReferenceValue
            	errors=r_error_res_sms_error11;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4607;   // KErrGsmSMSUnspecifiedInvalidMessage
            	errors=r_error_res_sms_error12;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4623;   // KErrGsmSMSUnspecifiedProtocolError
            	errors=r_error_res_sms_error13;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4639;   // KErrGsmSMSUnspecifiedInterworkingError
            	errors=r_error_res_sms_error14;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4655;   // KErrGsmSMSUnspecifiedPIDError
            	errors=r_error_res_sms_error15;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4671;   // KErrGsmSMSUnspecifiedDCSError
      	      errors=r_error_res_sms_error16;
           		},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4687;   // KErrGsmSMSUnspecifiedCommandError
            	errors=r_error_res_sms_error17;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4704;   // KErrGsmSMSServiceCentreBusy
            	errors=r_error_res_sms_error18;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4720;   // KErrGsmSMSSimSMSStorageFull
      	      errors=r_error_res_sms_error19;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4767;   // KErrGsmSMSUnspecifiedErrorCause
            	errors=r_error_res_sms_error20;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4812;   // KErrGsmSMSFailureInME
            	errors=r_error_res_sms_error21;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4822;   // KErrGsmSMSSimNotInserted
            	errors=r_error_res_sms_error22;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4842;   // KErrGsmSMSUnknownSCAddress
           	 	errors=r_error_res_sms_error23;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-4852;   // KErrGsmSMSCnmaAckNotExpected
            	errors=r_error_res_sms_error24;
            	},
        ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-5012;   // KErrGsmSMSUnknownError
      	      errors=r_error_res_sms_error25;
	            },
        ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-5120;   // KErrDndNameNotFound
      	    errors=r_error_res_networking_extension;
	        },
        ERRORRES_ERROR_ARRAY
			{
			text = r_gprs;
			startError=-6000;	// KErrPDPMaxContextsReached
			errors=r_error_res_gprs_error4;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-7000;	// Message server errors 
			errors=r_error_res_msg_server_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mail;
			startError=-7540;	// SSL errors 
			errors=r_error_res_email_ssl_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-8091;	//  KErrGsmCallCollision 
			errors=r_error_res_call_error6;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-8267;	//  KErrGsmOfflineOpNotAllowed
			errors=r_error_res_offline_mode;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-10019;	// CUrl errors 
			errors=r_error_res_curl;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_mms;
			startError=-11000;	// MMS Errors
			errors=r_error_res_mms_error;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-12002;	// general internet connection error
			errors=r_error_res_doc_handler_errors;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-20000;	// rb core Errors
			errors=r_error_res_rbcore_error;
		    },
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-25100;	// rb http Errors
			errors=r_error_res_http_errors100;
		    },
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-25200;	// rb http Errors
			errors=r_error_res_http_errors200;
		    },
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-25300;	// rb http Errors
			errors=r_error_res_http_errors300;
		    },
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-25400;	// rb http Errors
			errors=r_error_res_http_errors400;
		    },
		ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-25500;	// rb http Errors
			errors=r_error_res_http_errors500;
		    },
        	ERRORRES_ERROR_ARRAY
			{
			text = r_rb;
			startError=-26000;	// Browser Errors
			errors=r_error_res_kimono_errors;
		    },
        	ERRORRES_ERROR_ARRAY
			{
			text = r_bt;
			startError=-30000;	// BT Errors
			errors=r_error_res_base_errors;
			},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_rtsp;
			startError=-30244;	// RTSP Errors
			errors=r_error_res_rtsp_errors;
			},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_wlan;
			startError=-30171;	// WLAN Errors
			errors=r_error_res_wlan_errors;
			},

#if defined(__PROTOCOL_CDMA)
// -31xxx errors are CDMA specific. 
// Note that actual resources that define these errors (cdmasmserr.ra)
// are still included to preserve binary compatibility of errorres.rsg,
// it is just impossible to resolve them with TextResolver in non-CDMA platform. 

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31003;	// SMS Errors
			errors=r_error_res_cdma_sms_errors0;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31034;	// SMS Errors
			errors=r_error_res_cdma_sms_errors1;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31259;	// SMS Errors
			errors=r_error_res_cdma_sms_deliveryAck1;
			},
		
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31292;	// SMS Errors
			errors=r_error_res_cdma_sms_deliveryAck2;
			},

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31308;	// SMS Errors
			errors=r_error_res_cdma_sms_deliveryAck3;
			},

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31317;	// SMS Errors
			errors=r_error_res_cdma_sms_deliveryAck4;
			},

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31512;	// SMS Errors
			errors=r_error_res_cdma_sms_errors2;
			},

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31544;	// SMS Errors
			errors=r_error_res_cdma_sms_errors3;
			},

		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31576;	// SMS Errors
			errors=r_error_res_cdma_sms_errors4;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31608;	// SMS Errors
			errors=r_error_res_cdma_sms_errors5;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31768;	// SMS Errors
			errors=r_error_res_cdma_sms_errors6;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31800;	// SMS Errors
			errors=r_error_res_cdma_sms_errors7;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31832;	// SMS Errors
			errors=r_error_res_cdma_sms_errors8;
			},
		ERRORRES_ERROR_ARRAY
			{
			text = r_sms;
			startError=-31864;	// SMS Errors
			errors=r_error_res_cdma_sms_errors9;
			},
#endif  // __PROTOCOL_CDMA
		ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-50000;	// general internet connection error
			errors=r_error_res_gen_conn_errs;
			},
        	ERRORRES_ERROR_ARRAY
			{
			text = r_mms;
			startError=-32150;	// New MMS Errors
			errors=r_error_res_new_mms_errors;
			},          
        	ERRORRES_ERROR_ARRAY
			{
			text = r_internet;
			startError=-5105;	// KErrInet6NoRoute
			errors=r_error_res_inet6_errors;
			},   
          
        	ERRORRES_ERROR_ARRAY
			{
			text = r_base;
			startError=-32700;	//  KErrConnectionNotFound, general cmmanager errors
			errors=r_error_res_cmmanager_errors;
			}

        };
    }
    
#include "../data/baseerr.ra"
#include "../data/emailerr.ra"
#include "../data/sockerr.ra"
#include "../data/neterr.ra"
#include "../data/tcperr.ra"
#include "../data/gprserr.ra"
#include "../data/irerr.ra"
#include "../data/mmserr.ra"
#include "../data/rberr.ra"
#include "../data/smserr.ra"
#include "../data/docerr.ra"
#include "../data/msgerr.ra"
#include "../data/gsmccerr.ra"
#include "../data/errorresbcmaintainer.ra"


// End of File
