Holds either a valid parsed response or response sub-tree of type.
More...
#include <response_or_error.h>
template<class smtt>
class response_or_errort< smtt >
Holds either a valid parsed response or response sub-tree of type.
- Template Parameters
-
smtt | or a collection of message strings explaining why the given input was not valid. |
Definition at line 16 of file response_or_error.h.
◆ response_or_errort() [1/2]
◆ response_or_errort() [2/2]
◆ get_if_error()
Gets the error messages if the response is invalid, or returns nullptr otherwise.
Definition at line 37 of file response_or_error.h.
◆ get_if_valid()
Gets the smt response if the response is valid, or returns nullptr otherwise.
Definition at line 30 of file response_or_error.h.
◆ smt_or_messages
The documentation for this class was generated from the following file: