Appwrite C++ SDK
Auto-generated API documentation for the Appwrite C++ SDK
Loading...
Searching...
No Matches
HttpStatus.hpp
Go to the documentation of this file.
1
/// @file HttpStatus.hpp
2
/// @brief Defines HTTP status code enums for consistent error and response
3
/// handling.
4
5
#ifndef HTTPSTATUS_HPP
6
#define HTTPSTATUS_HPP
7
8
enum
HttpStatus
{
9
OK
= 200,
10
CREATED
= 201,
11
ATTRIBUTE_CREATED
= 202,
12
INDEX_CREATED
= 202,
13
DELETED
= 204,
14
BAD_REQUEST
= 400,
15
UNAUTHORIZED
= 401,
16
FORBIDDEN
= 403,
17
NOT_FOUND
= 404,
18
SERVER_ERROR
= 500
19
};
20
21
#endif
HttpStatus
HttpStatus
Definition
HttpStatus.hpp:8
ATTRIBUTE_CREATED
@ ATTRIBUTE_CREATED
Definition
HttpStatus.hpp:11
OK
@ OK
Definition
HttpStatus.hpp:9
FORBIDDEN
@ FORBIDDEN
Definition
HttpStatus.hpp:16
SERVER_ERROR
@ SERVER_ERROR
Definition
HttpStatus.hpp:18
INDEX_CREATED
@ INDEX_CREATED
Definition
HttpStatus.hpp:12
CREATED
@ CREATED
Definition
HttpStatus.hpp:10
DELETED
@ DELETED
Definition
HttpStatus.hpp:13
UNAUTHORIZED
@ UNAUTHORIZED
Definition
HttpStatus.hpp:15
NOT_FOUND
@ NOT_FOUND
Definition
HttpStatus.hpp:17
BAD_REQUEST
@ BAD_REQUEST
Definition
HttpStatus.hpp:14
enums
HttpStatus.hpp
Generated by
1.9.8