RESTinio
|
Type that indicates a failure of an attempt of query-string parsing. More...
#include <uri_helpers.hpp>
Public Member Functions | |
parse_query_failure_t (std::string description) | |
parse_query_failure_t (utils::unescape_percent_encoding_failure_t &&failure) | |
const std::string & | description () const noexcept |
Get a reference to the description of the failure. | |
std::string | giveout_description () noexcept |
Get out the value of the description of the failure. |
Private Attributes | |
std::string | m_description |
Description of a failure. |
Type that indicates a failure of an attempt of query-string parsing.
Definition at line 338 of file uri_helpers.hpp.
|
inline |
Definition at line 344 of file uri_helpers.hpp.
|
inline |
Definition at line 347 of file uri_helpers.hpp.
|
inlinenodiscardnoexcept |
Get a reference to the description of the failure.
Definition at line 355 of file uri_helpers.hpp.
|
inlinenodiscardnoexcept |
Get out the value of the description of the failure.
This method is intended for cases when this description should be move elsewhere (to another object like parse_query_failure_t or to some exception-like object).
Definition at line 365 of file uri_helpers.hpp.
|
private |
Description of a failure.
Definition at line 341 of file uri_helpers.hpp.