#include <http_plugin.hpp>
Definition at line 121 of file http_plugin.hpp.
◆ error_info() [1/2]
sysio::error_results::error_info::error_info |
( |
| ) |
|
|
inline |
◆ error_info() [2/2]
sysio::error_results::error_info::error_info |
( |
const fc::exception & | exc, |
|
|
bool | include_full_log ) |
|
inline |
Definition at line 139 of file http_plugin.hpp.
139 {
144 for(
auto itr = exc.
get_log().begin(); itr != exc.
get_log().end(); ++itr ) {
145
146 if(
details.size() >= limit )
break;
147
149 include_full_log ? itr->get_message() : itr->get_limited_message(),
150 itr->get_context().get_file(),
151 itr->get_context().get_line_number(),
152 itr->get_context().get_method()
153 };
155 }
156 }
const log_messages & get_log() const
const char * name() const
const char * what() const noexcept override
vector< error_detail > details
static const uint8_t details_limit
◆ code
int64_t sysio::error_results::error_info::code {} |
◆ details
◆ details_limit
const uint8_t sysio::error_results::error_info::details_limit = 10 |
|
static |
◆ name
string sysio::error_results::error_info::name |
◆ what
string sysio::error_results::error_info::what |
The documentation for this struct was generated from the following file: