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

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

#include "restresults.h"

Collaboration diagram for dpp::error_info:

Public Attributes

uint32_t code = 0
 Error code. More...
 
std::vector< error_detailerrors
 Field specific error descriptions. More...
 
std::string human_readable
 Human readable error message constructed from the above. More...
 
std::string message
 Error message. 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.

Referenced by dpp::utility::log_error(), and main().

◆ message

std::string dpp::error_info::message

Error message.


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