D++ (DPP)
C++ Discord API Bot Library
dpp::error_detail Struct Reference

The details of a field in an error response. More...

+ Collaboration diagram for dpp::error_detail:

Public Attributes

std::string object
 Object name which is in error. More...
 
std::string field
 Field name which is in error. More...
 
std::string code
 Error code. More...
 
std::string reason
 Error reason (full message) More...
 
int index = 0
 Object field index. More...
 

Detailed Description

The details of a field in an error response.

Member Data Documentation

◆ code

std::string dpp::error_detail::code

Error code.

◆ field

std::string dpp::error_detail::field

Field name which is in error.

◆ index

int dpp::error_detail::index = 0

Object field index.

◆ object

std::string dpp::error_detail::object

Object name which is in error.

◆ reason

std::string dpp::error_detail::reason

Error reason (full message)

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0