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

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

#include "restresults.h"

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 code
 Error code. More...
 
std::string field
 Field name which is in error. More...
 
std::string object
 Object name which is in error. 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)


The documentation for this struct was generated from the following file: