First public contribution.
2 * Copyright (c) 2003-2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
23 This contains error code definitions required by clients accessing the
24 Content Access Framework.
26 All CAF error codes lie within the range \c KErrCA_LowerLimit to
27 \c KErrCA_UpperLimit inclusive.
42 This is the upper limit of the CAF error code range.
46 if (KErrCA_LowerLimit <= err && err <= KErrCA_UpperLimit)
48 // handle CAF-specific error
52 const TInt KErrCA_UpperLimit = -17450;
56 This is the lower limit of the CAF error code range.
60 if (KErrCA_LowerLimit <= err && err <= KErrCA_UpperLimit)
62 // handle CAF-specific error
66 const TInt KErrCA_LowerLimit = -17549;
71 Agent does not support the requested capability.
73 const TInt KErrCANotSupported = -17450;
76 Rights evaluation failed for the supplied intent. This implies that
77 rights were available, but their evaluation, in the context of
78 supplied intent, failed.
80 const TInt KErrCANoPermission = -17451;
83 No rights were available for evaluation. A number of causes may
84 generate this error: Perhaps the rights were removed or lost
85 during a separate delivery
87 const TInt KErrCANoRights = -17452;
90 The Agent required is not present. This may occur if content
91 'belongs' to an agent that is no longer available on the
94 const TInt KErrCANoAgent = -17453;
97 Values specified are out of range.
99 const TInt KErrCAOutOfRange = -17454;
102 The rights were not available but are 'expected'. Will only be
103 returned if the agent supports this capability.
105 const TInt KErrCAPendingRights = -17455;
108 A request to get the content size failed because the agent was unable
109 to determine it. This error may occur on circumstances where, say, the
110 content is streamed over HTTP.
112 const TInt KErrCASizeNotDetermined = -17456;
115 The function failed because the agent needs the client to provide another
116 file handle before the import can continue
118 const TInt KErrCANewFileHandleRequired = -17457;
122 The rights object failed an integrity check.
124 This error is returned when a client attempts an operation which requires
125 accessing a rights object.
128 const TInt KErrCACorruptRights = -17458;
132 The content object failed an integrity check.
134 This error is returned when a client attempts an operation which requires
135 accessing a content object.
138 const TInt KErrCACorruptContent = -17459;
140 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
143 This error is returned when only a part of encrypted input packet provided for decryption.
145 const TInt KErrInsufficientDataPacketLength = -17460;
149 This error is returned when only a part of encrypted input packet provided for decryption.
151 const TInt KErrMissingWmdrmHeaderData = -17461;
153 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
154 #endif // __CAFERR_H__