extract_error_message
Description:
[ Version ( since = "3.48" ) ]
public abstract bool extract_error_message (Source source, string page_title, string page_uri, string? page_content, out string out_error_message)
public abstract bool extract_error_message (Source source, string page_title, string page_uri, string? page_content, out string out_error_message)
Tries to extract error message from the server response, return true, when an error message could be found, in which case also
sets the out_error_message with it.
The default implementation uses util_extract_from_uri, returning either the error description or the error code, when the description is not found.
The out_error_message is expected to be plain text.
Parameters:
| this | |
| source |
an associated Source |
| page_title |
a web page title |
| page_uri |
a web page URI |
| page_content |
a web page content |
| out_error_message |
the extracted error message |
Returns:
|
whether could recognized failed server response. The |