11#ifndef OCTANE_API_CLIENT_ERROR_CODE_H_
12#define OCTANE_API_CLIENT_ERROR_CODE_H_
17 =
"ERR_API_CLIENT_INITIALIZATION_FAILED";
21 =
"ERR_SERVER_HEALTH_STATUS_FAULTY";
26 =
"ERR_CURL_INITIALIZATION_FAILED";
Definition: api_client.cpp:20
constexpr auto ERR_DUP_DEVICE
Definition: error_code.h:41
constexpr auto ERR_API_CLIENT_INITIALIZATION_FAILED
Used when ApiClient initialization failed.
Definition: error_code.h:17
constexpr auto ERR_INVALID_RESPONSE
Used when there was an unexpected response from the server.
Definition: error_code.h:34
constexpr auto ERR_CURL_INITIALIZATION_FAILED
Used when cURL initialization failed, such as inoctane::internal::HttpClient。
Definition: error_code.h:26
constexpr auto ERR_INVALID_REQUEST
Used when an unexpected request was issued.
Definition: error_code.h:36
constexpr auto ERR_INCORRECT_HTTP_METHOD
Used when an unexpected http method was issued.
Definition: error_code.h:28
constexpr auto ERR_SERVER_HEALTH_STATUS_FAULTY
Used when the server has incidents and is currently not available.
Definition: error_code.h:21
constexpr auto ERR_CURL_CONNECTION_FAILED
Used when cURL failed to connect.
Definition: error_code.h:30
constexpr auto ERR_CONTENT_TYPE_DATA_MISMATCH
Definition: error_code.h:43
constexpr auto ERR_ROOM_DISCONNECTED
Definition: error_code.h:40
constexpr auto ERR_ROOM_ID_UNDEFINED
Used when you are not connected to a room but getRoomStatus() and deleteRoom() was passed nothing.
Definition: error_code.h:39
constexpr auto ERR_CONTENT_HASH_MISMATCH
Definition: error_code.h:42
constexpr auto ERR_JSON_PARSE_FAILED
Used when JSON parse failed.
Definition: error_code.h:32