Appwrite C++ SDK
Auto-generated API documentation for the Appwrite C++ SDK
Loading...
Searching...
No Matches
HttpStatus.hpp File Reference

Defines HTTP status code enums for consistent error and response handling. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  HttpStatus {
  OK = 200 , CREATED = 201 , ATTRIBUTE_CREATED = 202 , INDEX_CREATED = 202 ,
  DELETED = 204 , BAD_REQUEST = 400 , UNAUTHORIZED = 401 , FORBIDDEN = 403 ,
  NOT_FOUND = 404 , SERVER_ERROR = 500
}
 

Detailed Description

Defines HTTP status code enums for consistent error and response handling.

Definition in file HttpStatus.hpp.

Enumeration Type Documentation

◆ HttpStatus

enum HttpStatus
Enumerator
OK 
CREATED 
ATTRIBUTE_CREATED 
INDEX_CREATED 
DELETED 
BAD_REQUEST 
UNAUTHORIZED 
FORBIDDEN 
NOT_FOUND 
SERVER_ERROR 

Definition at line 8 of file HttpStatus.hpp.

8 {
9 OK = 200,
10 CREATED = 201,
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};
@ ATTRIBUTE_CREATED
@ OK
Definition HttpStatus.hpp:9
@ FORBIDDEN
@ SERVER_ERROR
@ INDEX_CREATED
@ CREATED
@ DELETED
@ UNAUTHORIZED
@ NOT_FOUND
@ BAD_REQUEST