--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/applayerprotocols/httptransportfw/inc/WspError.h Tue Feb 02 01:09:52 2010 +0200
@@ -0,0 +1,60 @@
+// Copyright (c) 2001-2009 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:
+//
+
+#ifndef __WSPERROR_H__
+#define __WSPERROR_H__
+
+// System includes
+#include <e32std.h>
+#include <httperr.h>
+
+// Constants used in this file
+/**
+Error code base, error codes are relative to this constant.
+@publishedAll
+@released
+*/
+const TInt KWspErrorBase = KHttpErrorBase - 180;
+
+enum TWspError
+/**
+WSP Error codes.
+@publishedAll
+@released
+*/
+ {
+ KWspErrServiceNumberNotDefined = KWspErrorBase,
+ KWspErrAccessPointNotSetUp = KWspErrorBase - 1,
+ KWspErrBadRedirectedAddressData = KWspErrorBase - 2,
+ KWspErrBearerNotSupported = KWspErrorBase - 3,
+ KWspErrRequestTooBig = KWspErrorBase - 4,
+ KWspErrStreamedRequestDataNotSupported = KWspErrorBase - 5,
+ KWspErrUnsupportedSendPrimitive = KWspErrorBase - 6,
+ KWspErrSessionClosingOrSuspending = KWspErrorBase - 7,
+ KWspErrExpectingBodyData = KWspErrorBase - 8,
+ KWspErrTrailerHeadersNotExpected = KWspErrorBase - 9,
+ KWspErrMissingHeader = KWspErrorBase - 10,
+ KWspErrSMSBearerNotInCommsDB = KWspErrorBase - 11,
+ KWspErrCouldNotCreateTransportHandler = KWspErrorBase - 12,
+ KWspErrRequiredServicesNotSupported = KWspErrorBase - 13,
+ KWtlsErrConfigurationFailed = KWspErrorBase - 14,
+ KWtlsErrPhase1HandshakeFailed = KWspErrorBase - 15,
+ KWtlsErrPhase2HandshakeFailed = KWspErrorBase - 16,
+ KWtlsErrInvalidServerCert = KWspErrorBase - 17,
+ KWtlsErrUntrustedServerCert = KWspErrorBase - 18,
+ KWtlsErrNegotiatedConfigRejected = KWspErrorBase - 19
+ };
+
+#endif // __WSPERROR_H__