imerrors.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : imerrors.h
00004 *  Part of     : IM SDK API
00005 *  Interface   : 
00006 *  Description : Open IM API errors
00007 *  Version     : 1.0
00008 *
00009 *  Copyright © 2004, 2005 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef OPENAPI_IM_ERRORS_H
00022 #define OPENAPI_IM_ERRORS_H
00023 
00024 const TInt KImErrorBase = -30130;
00025 
00026 enum TImErrors   // SDK API errors
00027     {
00031     KImApiGeneralError = KImErrorBase -1,
00032     
00036     KImApiErrNotRegistered = KImErrorBase - 2,
00037     
00041     KImApiErrAlreadyRegistered = KImErrorBase - 3,
00042     
00046     KImApiErrNotLogged = KImErrorBase - 4,
00047     
00051     KImApiErrLoginInProgress = KImErrorBase - 5,
00052     
00056     KImApiErrInvalidContactId = KImErrorBase - 6,
00057 
00061     KImApiErrInvalidUserId = KImErrorBase - 7,
00062 
00066     KImApiErrPartialSuccess = KImErrorBase - 8,
00067 
00071     KImApiErrSenderBlocked = KImErrorBase - 9,
00072 
00076     KImApiErrRecipientNotLogged = KImErrorBase - 10,
00077 
00081     KImApiErrLogoutInProgress = KImErrorBase - 11,
00082 
00086     KImApiErrCancelLoginInProgress = KImErrorBase - 12,
00087     
00091     KImApiErrAlreadyLoggedIn = KImErrorBase - 13,
00092     
00096     KImApiErrWrongPassword = KImErrorBase -14
00097     };
00098 
00099 
00100 // OPENAPI_IM_ERRORS_H
00101 #endif
00102 
00103 //  End of File

Copyright © Nokia Corporation 2001-2008
Back to top