---
name: "mapistore_errors.h"
section: "3"
platform: "linux"
package: "libmapi-dev"
version: "1:2.2-6+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mapistore_errors.h"
---

# mapistore\_errors.h(3)

This header provides a set of result codes for MAPISTORE function calls.

## NAME

mapiproxy/libmapistore/mapistore\_errors.h -

This header provides a set of result codes for MAPISTORE function calls.

## SYNOPSIS

### Enumerations

enum **mapistore\_error** { **MAPISTORE\_SUCCESS** = 0, **MAPISTORE\_ERROR** = 1, **MAPISTORE\_ERR\_NO\_MEMORY** = 2, **MAPISTORE\_ERR\_ALREADY\_INITIALIZED** = 3, **MAPISTORE\_ERR\_NOT\_INITIALIZED** = 4, **MAPISTORE\_ERR\_CORRUPTED** = 5, **MAPISTORE\_ERR\_INVALID\_PARAMETER** = 6, **MAPISTORE\_ERR\_NO\_DIRECTORY** = 7, **MAPISTORE\_ERR\_DATABASE\_INIT** = 8, **MAPISTORE\_ERR\_DATABASE\_OPS** = 9, **MAPISTORE\_ERR\_BACKEND\_REGISTER** = 10, **MAPISTORE\_ERR\_BACKEND\_INIT** = 11, **MAPISTORE\_ERR\_CONTEXT\_FAILED** = 12, **MAPISTORE\_ERR\_INVALID\_NAMESPACE** = 13, **MAPISTORE\_ERR\_INVALID\_URI** = 14, **MAPISTORE\_ERR\_NOT\_FOUND** = 15, **MAPISTORE\_ERR\_REF\_COUNT** = 16, **MAPISTORE\_ERR\_EXIST** = 17, **MAPISTORE\_ERR\_INVALID\_DATA** = 18, **MAPISTORE\_ERR\_MSG\_SEND** = 19, **MAPISTORE\_ERR\_MSG\_RCV** = 20, **MAPISTORE\_ERR\_DENIED** = 21, **MAPISTORE\_ERR\_NOT\_IMPLEMENTED** }\

## Detailed Description

This header provides a set of result codes for MAPISTORE function calls.

## Enumeration Type Documentation

### enum mapistore\_error

**Enumerator**

- *MAPISTORE\_SUCCESS*

  *The function call succeeded.*

- *MAPISTORE\_ERROR*

  *The function call failed for some non-specific reason.*

- *MAPISTORE\_ERR\_NO\_MEMORY*

  *The function call failed because it was unable to allocate the memory required by underlying operations.*

- *MAPISTORE\_ERR\_ALREADY\_INITIALIZED*

  *The function call failed because underlying context has already been initialized.*

- *MAPISTORE\_ERR\_NOT\_INITIALIZED*

  *The function call failed because context has not been initialized.*

- *MAPISTORE\_ERR\_CORRUPTED*

  *The function call failed because an internal mapistore storage component has corrupted data.*

- *MAPISTORE\_ERR\_INVALID\_PARAMETER*

  *The function call failed because one of the function parameters is invalid.*

- *MAPISTORE\_ERR\_NO\_DIRECTORY*

  *The function call failed because the directory doesn't exist.*

- *MAPISTORE\_ERR\_DATABASE\_INIT*

  *The function call failed because the underlying function couldn't open a database.*

- *MAPISTORE\_ERR\_DATABASE\_OPS*

  *The function call failed because the underlying function didn't run a database operation successfully.*

- *MAPISTORE\_ERR\_BACKEND\_REGISTER*

  *The function failed to register a storage backend.*

- *MAPISTORE\_ERR\_BACKEND\_INIT*

  *One of more storage backend initialization functions failed to complete successfully.*

- *MAPISTORE\_ERR\_CONTEXT\_FAILED*

  *The function failed because mapistore failed to create a context.*

- *MAPISTORE\_ERR\_INVALID\_NAMESPACE*

  *The function failed because the provided namespace is invalid.*

- *MAPISTORE\_ERR\_INVALID\_URI*

  *The specified URI is invalid.*

- *MAPISTORE\_ERR\_NOT\_FOUND*

  *The function failed to find requested record/data.*

- *MAPISTORE\_ERR\_REF\_COUNT*

  *The function still has a reference count.*

- *MAPISTORE\_ERR\_EXIST*

  *The function already have record/data for the searched element.*

- *MAPISTORE\_ERR\_INVALID\_DATA*

  *The function failed to generate requested data/payload.*

- *MAPISTORE\_ERR\_MSG\_SEND*

  *The function failed to send message.*

- *MAPISTORE\_ERR\_MSG\_RCV*

  *The function failed to receive message.*

- *MAPISTORE\_ERR\_DENIED*

  *The operation required privileges that the user does not have.*

- *MAPISTORE\_ERR\_NOT\_IMPLEMENTED*

  *The function is not implemented.*

## Author

*Generated automatically by Doxygen for OpenChange mapistore library from the source code.*
