error.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-2-Clause
// Copyright The Music Player Daemon Project
#ifndef MPD_ERROR_H
#define MPD_ERROR_H
enum mpd_error {
MPD_ERROR_SUCCESS = 0,
MPD_ERROR_OOM,
MPD_ERROR_ARGUMENT,
MPD_ERROR_STATE,
MPD_ERROR_TIMEOUT,
MPD_ERROR_SYSTEM,
MPD_ERROR_RESOLVER,
MPD_ERROR_MALFORMED,
MPD_ERROR_CLOSED,
MPD_ERROR_SERVER,
};
#endif
mpd_error
mpd_error
Definition error.h:14
MPD_ERROR_CLOSED
@ MPD_ERROR_CLOSED
Definition error.h:42
MPD_ERROR_RESOLVER
@ MPD_ERROR_RESOLVER
Definition error.h:36
MPD_ERROR_SERVER
@ MPD_ERROR_SERVER
Definition error.h:48
MPD_ERROR_OOM
@ MPD_ERROR_OOM
Definition error.h:19
MPD_ERROR_ARGUMENT
@ MPD_ERROR_ARGUMENT
Definition error.h:23
MPD_ERROR_SYSTEM
@ MPD_ERROR_SYSTEM
Definition error.h:33
MPD_ERROR_MALFORMED
@ MPD_ERROR_MALFORMED
Definition error.h:39
MPD_ERROR_TIMEOUT
@ MPD_ERROR_TIMEOUT
Definition error.h:30
MPD_ERROR_SUCCESS
@ MPD_ERROR_SUCCESS
Definition error.h:16
MPD_ERROR_STATE
@ MPD_ERROR_STATE
Definition error.h:27