feat(ffi): add HYPERE_INVALID_PEER_MESSAGE error code for parse errors

This commit is contained in:
Sean McArthur
2021-01-20 14:53:25 -08:00
parent 237b2ce083
commit 1928682b33
2 changed files with 7 additions and 0 deletions

View File

@@ -54,6 +54,10 @@ typedef enum {
An optional hyper feature was not enabled.
*/
HYPERE_FEATURE_NOT_ENABLED,
/*
The peer sent an HTTP message that could not be parsed.
*/
HYPERE_INVALID_PEER_MESSAGE,
} hyper_code;
typedef enum {