epoc32/include/nd_err.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /**
       
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * 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
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Netdial external errors and error strings
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @file ND_ERR.H
       
    26  @internalComponent
       
    27 */
       
    28 
       
    29 #ifndef __ND_ERR_H__
       
    30 #define __ND_ERR_H__
       
    31 
       
    32 #include <e32def.h>
       
    33 
       
    34 const TInt KNetdialErrorBase=-3000;
       
    35 
       
    36 // netdial script errors
       
    37 //
       
    38 const TInt KErrExitNoModem=KNetdialErrorBase-1;				///< Exit Condition - No Modem Response
       
    39 const TInt KErrExitModemError=KNetdialErrorBase-2;			///< Exit Condition - Modem error
       
    40 const TInt KErrExitLoginFail=KNetdialErrorBase-3;			///< Exit Condition - Login Failure
       
    41 const TInt KErrExitScriptTimeOut=KNetdialErrorBase-4;		///< Exit Condition - Script Timed Out
       
    42 const TInt KErrExitScriptError=KNetdialErrorBase-5;			///< Exit Condition - Script Error
       
    43 
       
    44 // netdial database error
       
    45 //
       
    46 const TInt KErrNetDialDatabaseDefaultUndefined=KNetdialErrorBase-6;
       
    47 const TInt KErrNetDialDatabaseTypeUnknown=KNetdialErrorBase-7;
       
    48 const TInt KErrNetDialDatabaseNotFound=KNetdialErrorBase-8;
       
    49 const TInt KErrNetDialHscsdNotSupported=KNetdialErrorBase-9;
       
    50 
       
    51 // error strings for script
       
    52 //
       
    53 #define KErrExitScriptTimeOutString		_S("KErrTimeOut$")
       
    54 #define KErrExitLoginFailString			_S("KErrLoginFail$")
       
    55 #define	KErrExitNoModemString			_S("KErrNoModem$")	
       
    56 #define KErrExitModemErrorString		_S("KErrModemError$")
       
    57 #define KErrExitNoAnswerString			_S("KErrNoAnswer$")
       
    58 #define KErrExitNoCarrierString			_S("KErrNoCarrier$")
       
    59 #define KErrExitNoDialToneString		_S("KErrNoDialTone$")
       
    60 #define KErrExitBusyString				_S("KErrBusy$")
       
    61 #define KErrExitModemInitErrorString	_S("KErrModemInitError$")
       
    62 
       
    63 #endif