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

The full details of an error from a REST response. More...

+ Collaboration diagram for dpp::error_info:

Public Attributes

uint32_t code = 0
 Error code. More...
 
std::string message
 Error message. More...
 
std::vector< error_detailerrors
 Field specific error descriptions. More...
 
std::string human_readable
 Human readable error message constructed from the above. More...
 

Detailed Description

The full details of an error from a REST response.

Member Data Documentation

◆ code

uint32_t dpp::error_info::code = 0

Error code.

◆ errors

std::vector<error_detail> dpp::error_info::errors

Field specific error descriptions.

◆ human_readable

std::string dpp::error_info::human_readable

Human readable error message constructed from the above.

◆ message

std::string dpp::error_info::message

Error 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