commsfwsupport/commselements/rootserver/inc/rserror.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #if !defined(__RSERROR_H__)
       
    17 #define __RSERROR_H__
       
    18 
       
    19 /**
       
    20 @file 
       
    21 
       
    22 @publishedPartner
       
    23 @released
       
    24 */
       
    25 /** A module has died, voluntarily or otherwise.
       
    26  */
       
    27 const TInt KErrRSSuddenDeath                        = -17103;
       
    28 /** A request was cancelled.
       
    29  */
       
    30 const TInt KErrRSRequestCancelled					= -17104;
       
    31 
       
    32 /** A parameter was in some way invalid.
       
    33  */
       
    34 const TInt KErrRSInvalidParameter					= -17105;
       
    35 
       
    36 /** The file could not be found, read or was in some way corrupt.
       
    37  */
       
    38 const TInt KErrRSInvalidParameterFile				= -17106;
       
    39 
       
    40 /** The name was invalid.
       
    41  */
       
    42 const TInt KErrRSInvalidParameterName				= -17107;
       
    43 
       
    44 /** The stack size was invalid.
       
    45  */
       
    46 const TInt KErrRSInvalidParameterStackSize			= -17108;
       
    47 
       
    48 /** The heap size was invalid.
       
    49  */
       
    50 const TInt KErrRSInvalidParameterHeapSize			= -17109;
       
    51 
       
    52 /** The second UID of the DLL was not the UID of a Comms Provider Module.
       
    53 For a DLL to be a CPM it must have the second UID value of 0x101f7418.
       
    54  */
       
    55 const TInt KErrRSInvalidUidType						= -17110;
       
    56 
       
    57 /** A Comms Provider Module with this name is already loaded.
       
    58  */
       
    59 const TInt KErrRSModuleAlreadyExist					= -17111;
       
    60 
       
    61 /** The size of the MBuf pool is invalid.
       
    62  */
       
    63 const TInt KErrRSInvalidMBufPoolSize				= -17112;
       
    64 
       
    65 /** The specified module is not running.
       
    66  */
       
    67 const TInt KErrRSModuleNotRunning					= -17113;
       
    68 
       
    69 /** The specified module is not loaded.
       
    70  */
       
    71 const TInt KErrRSModuleNotLoaded					= -17114;
       
    72 
       
    73 /** The specified binding is already active.
       
    74  */
       
    75 const TInt KErrRSAlreadyBound						= -17115;
       
    76 
       
    77 /** There are running modules.
       
    78  */
       
    79 const TInt KErrRSModulesStillRunning				= -17116;
       
    80 
       
    81 /** Unable to create more new heaps in the Comms Process.
       
    82 Consider sharing a heap between modules.
       
    83  */
       
    84 const TInt KErrRSNoNewHeapsAvailable				= -17117;
       
    85 
       
    86 /** A request timed out. This can happen when a module stops
       
    87 responding to requests for some reason.
       
    88  */
       
    89 const TInt KErrRSRequestTimedOut					= -17118;
       
    90 
       
    91 /** The specified module does not exist..
       
    92  */
       
    93 const TInt KErrRSModuleUnknown						= -17119;
       
    94 
       
    95 /** The specified submodule does not exist.
       
    96  */
       
    97 const TInt KErrRSSubModuleUnknown					= -17120;
       
    98 
       
    99 /** The specified binding does not exist.
       
   100  */
       
   101 const TInt KErrRSBindingUnknown						= -17121;
       
   102 
       
   103 /** The status is unknown.
       
   104  */
       
   105 const TInt KErrRSStatusUnknown						= -17122;
       
   106 
       
   107 /** The specified binding exist.
       
   108  */
       
   109 const TInt KErrRSBindingExists						= -17123;
       
   110 
       
   111 /** The module is not ready for requests.
       
   112  */
       
   113 const TInt KErrRSModuleNotReady						= -17124;
       
   114 
       
   115 /** The specified binding is not yet completed.
       
   116  */
       
   117 const TInt KErrRSBindingInProgress					= -17125;
       
   118 
       
   119 /** Found heap but unable to open it for sharing.
       
   120  */
       
   121 const TInt KErrRSUnableToOpenHeap					= -17126;
       
   122 
       
   123 /** Unable to find specified heap.
       
   124  */
       
   125 const TInt KErrRSUnableToFindHeap					= -17127;
       
   126 
       
   127 /** Unable to create communication channels for new module.
       
   128  */
       
   129 const TInt KErrRSUnableToCreateQueues				= -17128;
       
   130 
       
   131 /** This Comms Provider Module exist but is not responding.
       
   132  */
       
   133 const TInt KErrRSZombie								= -17129;
       
   134 
       
   135 /** The specified ordinal does not exist for the DLL.
       
   136  */
       
   137 const TInt KErrRSInvalidParameterThreadFuncOrdinal	= -17130;
       
   138 
       
   139 /** Invalid binding.
       
   140  */
       
   141 const TInt KErrRSInvalidBinding						= -17131;
       
   142 
       
   143 /** Queue length of binding invalid. Must be between TRSBindingInfo::EMinQueueLength and TRSBindingInfo::EMaxQueueLength.
       
   144 @see TRSBindingInfo
       
   145  */
       
   146 const TInt KErrRSInvalidQueueLength					= -17132;
       
   147 /** A module has died through a panic, Kill(), or other exception
       
   148  */
       
   149 const TInt KErrRSSuddenViolentDeath                 = -17133;
       
   150 
       
   151 /** A module (boot-time/OnDemand) involved in binding failed, hence if any of the two module(s) is/are On-Demand, 
       
   152 the message needs to be completed with this error code to signal to caller that there are icomplete bindings
       
   153  */
       
   154 const TInt KErrRSEitherModuleInBindingFailedToLoad 	= -17134;
       
   155 #endif // __RSERROR_H__
       
   156