|
1 /* |
|
2 * Copyright (c) 2002 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 "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Error codes for COD Handler. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef COD_ERROR_H |
|
22 #define COD_ERROR_H |
|
23 |
|
24 #include <e32def.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 /// Error in COD (syntax error, missing mandatory attributes etc.). |
|
29 LOCAL_D const TInt KErrCodInvalidDescriptor = -1000; |
|
30 /// Content is too large to be saved. |
|
31 LOCAL_D const TInt KErrCodInsufficientSpace = -1001; |
|
32 /// No Access Point available. |
|
33 LOCAL_D const TInt KErrCodNoAccessPoint = -1002; |
|
34 /// Not Supported version. |
|
35 LOCAL_D const TInt KErrCodUnsupportedVersion = -1003; |
|
36 /// Attribute mismatch. |
|
37 LOCAL_D const TInt KErrCodAttributeMismatch = -1004; |
|
38 /// Invalid type. |
|
39 LOCAL_D const TInt KErrCodInvalidType = -1005; |
|
40 |
|
41 // "Borrowed" error codes! |
|
42 // This means that we are using error codes from other modules as they already |
|
43 // have localised error strings known by the error resolver. |
|
44 |
|
45 /// "Message not supported". |
|
46 LOCAL_D const TInt KErrCodProfileNotSupported = -4604; |
|
47 /// "Message not supported". |
|
48 LOCAL_D const TInt KErrCodConfigNotSupported = -4604; |
|
49 /// "Could not connect to Internet. Make sure that Network Settings is closed." |
|
50 LOCAL_D const TInt KErrCodCannotOpenConnection = -181; |
|
51 /// "Could not find specified Internet server" |
|
52 LOCAL_D const TInt KErrCodDnsLookupFailed = -3058; |
|
53 /// "Could not connect to the specified server" |
|
54 LOCAL_D const TInt KErrCodCannotConnect = -191; |
|
55 /// "Operation aborted by server." |
|
56 LOCAL_D const TInt KErrCodHttpAbort = -20042; |
|
57 /// "Authentication failed" |
|
58 LOCAL_D const TInt KErrCodHttpAuthFailed = -4157; |
|
59 /// "Authentication failed" |
|
60 LOCAL_D const TInt KErrCodHttpAuthAborted = -4157; |
|
61 /// "Check gateway IP address setting." |
|
62 LOCAL_D const TInt KErrCodHttpInvalidGateway = -20040; |
|
63 /// "Page not found. Check URL address." |
|
64 LOCAL_D const TInt KErrCodHttpBadUrl = -20028; |
|
65 /// "Response unknown." |
|
66 LOCAL_D const TInt KErrCodHttpBadResponse = -20019; |
|
67 /// "Connection not available." |
|
68 LOCAL_D const TInt KErrCodHttpCommsFailed = -20037; |
|
69 /// "Connection time-out." |
|
70 LOCAL_D const TInt KErrCodHttpNoResponse = -20015; |
|
71 /// "Page not found." |
|
72 LOCAL_D const TInt KErrCodHttpNotFound = -20005; |
|
73 /// "Operation aborted by server." |
|
74 LOCAL_D const TInt KErrCodHttpServerError = -20025; |
|
75 /// "Connection time-out" |
|
76 LOCAL_D const TInt KErrCodHttpTimedOut = -20015; |
|
77 /// "Page not available." |
|
78 LOCAL_D const TInt KErrCodHttpUnavailable = -20029; |
|
79 /// "Connection to WAP server dropped." |
|
80 LOCAL_D const TInt KErrCodWapConnectionDropped = -20041; |
|
81 /// "License Failed." |
|
82 LOCAL_D const TInt KErrCodHttpLicenseFailed = -20027; |
|
83 /// "Precondition Failed error code received from HTTP stack" |
|
84 LOCAL_D const TInt KErrCodHttpRequestedRangeNotSatisfiable = -20043; |
|
85 /// "Precondition Failed error code received from HTTP stack" |
|
86 LOCAL_D const TInt KErrCodHttpPreconditionFailed = -20044; |
|
87 /// "COD Download paused" |
|
88 LOCAL_D const TInt KErrCodHttpDownloadPaused = -20045; |
|
89 /// "Multiple Object Download Failed |
|
90 LOCAL_D const TInt KErrMultipeObjectDownloadFailed = -20046; |
|
91 |
|
92 #endif /* def COD_ERROR_H */ |