Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

enum mpd_error

Enumerator:
MPD_ERROR_SUCCESS  no error
MPD_ERROR_OOM  out of memory
MPD_ERROR_ARGUMENT  a function was called with an unrecognized or invalid argument
MPD_ERROR_STATE  a function was called which is not available in the current state of libmpdclient
MPD_ERROR_TIMEOUT  timeout trying to talk to mpd
MPD_ERROR_SYSTEM  system error
MPD_ERROR_RESOLVER  unknown host
MPD_ERROR_MALFORMED  malformed response received from MPD
MPD_ERROR_CLOSED  connection closed by mpd
MPD_ERROR_SERVER  The server has returned an error code, which can be queried with mpd_connection_get_server_error().

Definition at line 39 of file error.h.

               {
      /** no error */
      MPD_ERROR_SUCCESS = 0,

      /** out of memory */
      MPD_ERROR_OOM,

      /** a function was called with an unrecognized or invalid
          argument */
      MPD_ERROR_ARGUMENT,

      /** a function was called which is not available in the
          current state of libmpdclient */
      MPD_ERROR_STATE,

      /** timeout trying to talk to mpd */
      MPD_ERROR_TIMEOUT,

      /** system error */
      MPD_ERROR_SYSTEM,

      /** unknown host */
      MPD_ERROR_RESOLVER,

      /** malformed response received from MPD */
      MPD_ERROR_MALFORMED,

      /** connection closed by mpd */
      MPD_ERROR_CLOSED,

      /**
       * The server has returned an error code, which can be queried
       * with mpd_connection_get_server_error().
       */
      MPD_ERROR_SERVER,
};


Generated by  Doxygen 1.6.0   Back to index