SwiftScraperError
public enum SwiftScraperError : Error, LocalizedError, Equatable
Errors which can occurr during scraping
-
Problem with serializing parameters to pass to the JavaScript.
Declaration
Swift
case parameterSerialization
-
An assertion failed, the page contents was not what was expected.
Declaration
Swift
case contentUnexpected
-
JavaScript error occurred when trying to process the page.
Declaration
Swift
case javascriptError(errorMessage: String)
-
Page navigation failed with the given error.
Declaration
Swift
case navigationFailed(errorMessage: String)
-
The step which was specified could not be found to be run, e.g. if an incorrect index was specified for
StepFlowResult.jumpToStep(Int)
.Declaration
Swift
case incorrectStep
-
Timeout occurred while waiting for a step to complete.
Declaration
Swift
case timeout
-
Something went wrong with loading the common script, which is included in the package
Declaration
Swift
case commonScriptNotFound
-
Something went wrong with loading the testing JavaScript file
Declaration
Swift
case scriptNotFound(name: String)
-
Unable to read downloaded file from disk
Declaration
Swift
case couldNotReadDownloadedFile
-
Declaration
Swift
public var errorDescription: String? { get }