libwolfram20

◆ parse()

void WAError::parse ( rapidxml::xml_node<> *  error)
private

Parsing the input error.

Precondition
You must call this function only once (called my the constructor)
Parameters
[in]errorXML Node of error
55 {
56 // Read the error node arguments
57 this->_code = atoi( error->first_attribute("code")->value() );
58 this->_msg = std::string( error->first_attribute("msg")->value() );
59}
int _code
The error code HTTP Status 501: This status is returned if a given input value cannot be interpreted ...
Definition: WAError.h:41
std::string _msg
A short message describing the error.
Definition: WAError.h:42