wasErrorOnRequest

scrapeableFile.wasErrorOnRequest()
Description
Indicates if the server responds with a status code other than those in the 200 or 300 entity range or if the connection to the server timed out. Each time a server responds to a request made by screen-scraper it sends back a three digit code indicating the status of the response. Responses in either the 200 or 300 range indicate that there is no error in the transaction. Responses in either the 400 or 500 range indicate some kind of error. This method responds to such an occurance.
Example
// If an error occurred when the file was requested, an error
// message indicating such gets output to the log.
if( scrapeableFile.wasErrorOnRequest() )
{
 session.log( "Connection error occurred." );
}