setFatalErrorOccurred

session.setFatalErrorOccurred( boolean fatalErrorOccurred ) (enterprise edition only)
Description
Indicates that a fatal error occurred while the scraping session was running. If this flag is set, in the web interface the scraping session will be displayed as having experienced an error.
Example
// Set the flag indicating that an error occurred.
session.setFatalErrorOccurred( true );