Documentation

Net::HttpRequest::Error

Method in HttpRequest

string Error()

Returns an error message, if there was an error. Otherwise, this returns an empty string. This function is useful in the rare case that ResponseCode() returns 0.

Returns string