Concord - C Discord API library
A Discord API wrapper library written in C
error.h
Go to the documentation of this file.
1
3#ifndef CONCORD_ERROR_H
4#define CONCORD_ERROR_H
5
10/* XXX: As new values are added, discord_strerror() should be updated
11 * accordingly! */
12typedef enum CCORDcode {
19 /* deprecated */
23 /* deprecated */
57
60#endif /* CONCORD_ERROR_H */
CCORDcode
Definition: error.h:12
@ CCORD_MALFORMED_PAYLOAD
Definition: error.h:14
@ CCORD_DISCORD_CONNECTION
Definition: error.h:55
@ CCORD_HTTP_CODE
Definition: error.h:40
@ CCORD_PENDING
Definition: error.h:47
@ CCORD_OK
Definition: error.h:42
@ CCORD_FULL_WORKER
Definition: error.h:16
@ CCORD_UNUSUAL_HTTP_CODE
Definition: error.h:36
@ CCORD_UNAVAILABLE
Definition: error.h:20
@ CCORD_BAD_JSON
Definition: error.h:32
@ CCORD_CURL_NO_RESPONSE
Definition: error.h:38
@ CCORD_DISCORD_BAD_AUTH
Definition: error.h:51
@ CCORD_OWNERSHIP
Definition: error.h:24
@ CCORD_DISCORD_RATELIMIT
Definition: error.h:53
@ CCORD_BAD_PARAMETER
Definition: error.h:34
@ CCORD_CURLM_INTERNAL
Definition: error.h:28
@ CCORD_GLOBAL_INIT
Definition: error.h:26
@ CCORD_CURLE_INTERNAL
Definition: error.h:30
@ CCORD_DISCORD_JSON_CODE
Definition: error.h:49
@ CCORD_RESOURCE_OWNERSHIP
Definition: error.h:22
@ CCORD_RESOURCE_UNAVAILABLE
Definition: error.h:18