applayerprotocols/httptransportfw/inc/WspError.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:39:24 +0200
changeset 11 001ef9ddb825
parent 0 b16258d2340f
permissions -rw-r--r--
Revision: 201004 Kit: 201011

// 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__