SecretError

## SecretError SecretError — libsecret errors |

## Synopsis

    #include <libsecret/secret.h>

    #define             SECRET_ERROR
    enum                SecretError;

## Object Hierarchy

      GEnum
       +----SecretError

## Description

Various errors reported by the libsecret library. No error returned from the libsecret API is suitable for direct display to the user. It is up to the application to handle them appropriately.

## Details

### SECRET_ERROR

    #define         SECRET_ERROR                (secret_error_get_quark ())

### enum SecretError

    typedef enum {
    	SECRET_ERROR_PROTOCOL = 1,
    	SECRET_ERROR_IS_LOCKED = 2,
    	SECRET_ERROR_NO_SUCH_OBJECT = 3,
    	SECRET_ERROR_ALREADY_EXISTS = 4,
    } SecretError;

Errors returned by the Secret Service. None of the errors are appropriate for display to the user.

`SECRET_ERROR_PROTOCOL` | received an invalid data or message from the Secret Service
`SECRET_ERROR_IS_LOCKED` | the item or collection is locked and the operation cannot be performed
`SECRET_ERROR_NO_SUCH_OBJECT` | no such item or collection found in the Secret Service
`SECRET_ERROR_ALREADY_EXISTS` | a relevant item or collection already exists