Folks.PersonaStoreError – folks Reference Manual

# PersonaStoreError

## Description:

public errordomain PersonaStoreError

Errors from PersonaStores.

Namespace: Folks
Package: folks

## Content:

### Error codes:

- CREATE_FAILED - Creation of a Persona failed.
- INVALID_ARGUMENT - An argument to the method was invalid.
- PERMISSION_DENIED - The operation was denied due to not having sufficient permissions.
- READ_ONLY - The PersonaStore doesn't support write operations.
- REMOVE_FAILED - Removal of a Persona failed. This is a generic error which is used if no other error code (such as, e.g., PersonaStoreError.PERMISSION_DENIED) is applicable.
- STORE_OFFLINE - The PersonaStore was offline (ie, this is a temporary failure).
- UNSUPPORTED_ON_NON_USER - Such an operation may only be performed on a Persona with Persona.is_user set to `true`.
- UNSUPPORTED_ON_USER - Such an operation may not be performed on a Persona with Persona.is_user set to `true`.