.. index:: 
  !ImageError Enumeration

.. _id3_face_image_error_enum:

===============================================================================
ImageError Enumeration
===============================================================================

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

Definition
----------

.. line-block::
    Enumerates possible error codes related to image management.

.. tab-set::

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

    .. code-block:: Python

      class ImageError

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

    .. code-block:: Dart

      enum ImageError

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

    .. code-block:: C#

      public enum ImageError

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

    .. code-block:: Java

      public enum ImageError

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

    .. code-block:: Swift

      public enum ImageError

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

    .. code-block:: C

      typedef enum id3FaceImageError


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``
    - -3000
    - Base error code for Image module.
  * - ``minimum``
    - -3999
    - Minimum error code for Image module.
  * - ``invalidHandle``
    - -3001
    - The handle is invalid.
  * - ``invalidParameter``
    - -3002
    - The parameter is invalid.
  * - ``imageSizeMismatch``
    - -3003
    - The image sizes are not compatible for the requested operation.
  * - ``pixelFormatMismatch``
    - -3004
    - The pixel formats are not compatible.
  * - ``keyAlreadyExists``
    - -3005
    - The given key is already used in the dictionary. Multiple values per key is not supported.
  * - ``keyNotFound``
    - -3006
    - The given key is not present in the dictionary.
  * - ``invalidPixelFormat``
    - -3007
    - The required pixel format is not correct.
  * - ``pythonModule``
    - -3008
    - An error as occured during python module initialization.
  * - ``functionNotImplemented``
    - -3009
    - Function not implemented.
  * - ``backendError``
    - -3010
    - TODO
