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

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

+ Collaboration diagram for dpp::error_detail:

Public Member Functions

 DPP_DEPRECATED ("index is unused and will be removed in a future version") int index=0
 Object field index. More...
 

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...
 

Detailed Description

The details of a field in an error response.

Member Function Documentation

◆ DPP_DEPRECATED()

dpp::error_detail::DPP_DEPRECATED ( "index is unused and will be removed in a future version"  )
pure virtual

Object field index.

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.

◆ 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