.. index:: 
  !LicenseError Enumeration

.. _id3_face_license_error_enum:

===============================================================================
LicenseError Enumeration
===============================================================================

Namespace: :ref:`id3.Face<reference_face>`

Definition
----------

.. line-block::
    Enumerates the error codes related to license management.

.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code-block:: Python

      class LicenseError

  .. tab-item:: Dart
    :sync: Dart

    .. code-block:: Dart

      enum LicenseError

  .. tab-item:: C#
    :sync: C#

    .. code-block:: C#

      public enum LicenseError

  .. tab-item:: Java
    :sync: Java

    .. code-block:: Java

      public enum LicenseError

  .. tab-item:: Swift
    :sync: Swift

    .. code-block:: Swift

      public enum LicenseError

  .. tab-item:: C
    :sync: C

    .. code-block:: C

      typedef enum id3FaceLicenseError


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``success``
    - 0
    - No error.
  * - ``insufficientBuffer``
    - -1
    - The given buffer is too small.
  * - ``objectDoesNotExist``
    - -2
    - The requested object does not exist; a 'null' should be returned if possible.
  * - ``base``
    - -100
    - Base error code of the License module.
  * - ``minimum``
    - -999
    - Minimum error code of the License module.
  * - ``invalidHandle``
    - -101
    - The handle is invalid.
  * - ``invalidParameter``
    - -102
    - One of the parameters is incorrect.
  * - ``licenseNotFound``
    - -103
    - No license was found.
  * - ``invalidLicense``
    - -104
    - License is not valid or a required module is not licensed.
  * - ``expiredLicense``
    - -105
    - The license has expired.
  * - ``invalidHardwareId``
    - -106
    - Installation code does not match hardware ID.
  * - ``alreadyFulfilled``
    - -107
    - The license is already fulfilled by another user (or computer).
  * - ``moduleError``
    - -108
    - A required module is not licensed or the usage limit has been reached.
  * - ``writeError``
    - -109
    - The license file cannot be accessed in write mode.
  * - ``insufficientLicenseCredits``
    - -110
    - The number of available licenses has been reached. There isn't any available license remaining.
  * - ``invalidSerial``
    - -111
    - The serial is invalid.
  * - ``invalidCredentials``
    - -112
    - Invalid login or password.
  * - ``revokedLicense``
    - -113
    - The license is revoked or does not exist anymore.
  * - ``blockedLicense``
    - -114
    - The license is blocked after a predefined period.
  * - ``unreachableServer``
    - -115
    - The license server is currently unreachable.
  * - ``licenseOtherError``
    - -116
    - An unexpected error happened.
  * - ``missingFile``
    - -117
    - No license file was provided.
  * - ``deviceNotCompatible``
    - -118
    - This device is not compatible with id3 licensing system.
