KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1#ifndef KEEL_ERROR_H
2#define KEEL_ERROR_H
3
63
69const char *kl_strerror(KlError err);
70
71#endif /* KEEL_ERROR_H */
KlError
Diagnostic error codes for Keel public functions.
Definition error.h:11
@ KL_ERR_HEADER
Definition error.h:39
@ KL_ERR_TLS_INIT
Definition error.h:31
@ KL_ERR_IO
Definition error.h:24
@ KL_ERR_REDIRECT_LOOP
Definition error.h:53
@ KL_ERR_TLS_HANDSHAKE
Definition error.h:32
@ KL_ERR_TOO_LARGE
Definition error.h:38
@ KL_ERR_COMPRESS
Definition error.h:56
@ KL_ERR_TIMEOUT
Definition error.h:25
@ KL_ERR_INVALID_ARG
Definition error.h:15
@ KL_ERR_BIND
Definition error.h:21
@ KL_ERR_CONNECT
Definition error.h:23
@ KL_ERR_NONE
Definition error.h:12
@ KL_ERR_ALLOC
Definition error.h:16
@ KL_ERR_TLS_VTABLE
Definition error.h:33
@ KL_ERR_PARSE
Definition error.h:37
@ KL_ERR_PROXY
Definition error.h:59
@ KL_ERR_EVENT_ADD
Definition error.h:43
@ KL_ERR_SOCKET
Definition error.h:20
@ KL_ERR_EVENT_INIT
Definition error.h:42
@ KL_ERR_QUEUE_FULL
Definition error.h:46
@ KL_ERR_OVERFLOW
Definition error.h:17
@ KL_ERR__COUNT
Definition error.h:61
@ KL_ERR_PIPE
Definition error.h:50
@ KL_ERR_THREAD
Definition error.h:47
@ KL_ERR_URL
Definition error.h:36
@ KL_ERR_LISTEN
Definition error.h:22
@ KL_ERR_DNS
Definition error.h:28
const char * kl_strerror(KlError err)
Return a short human-readable message for an error code.