2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "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.
14 * Description: Virtual Phonebook framework error codes
28 * Virtual Phonebook Engine API error codes and functions.
30 * These codes are used in Virtual Phonebook APIs and all store plugin
31 * implementations must use them as documented in the API header files.
36 /// Panic category for Virtual Phonebook APIs.
37 _LIT(KPanicCategory, "VPbkEng");
40 * Panic codes for the Virtual Phonebook APIs.
44 /// Invalid index was used
45 EInvalidTypeParameter = 1,
46 EInvalidTypeParameterResource,
47 EFieldDataTypeMismatch,
54 EInvalidAccessToReadOnlyContact,
55 EInvalidLinkArrayVersion,
56 EAccessOfUnopenedStore
60 * Called if an unrecoverable error is detected.
62 * Stops the thread with User::Panic.
64 * @param aPanicCode One of the TPanicCode values.
66 IMPORT_C void Panic(TPanicCode aPanicCode);