webdriver-0.8.5: a Haskell client for the Selenium WebDriver protocol

Safe HaskellNone
LanguageHaskell2010

Test.WebDriver.Exceptions.Internal

Synopsis

Documentation

data FailedCommand #

This exception encapsulates a broad variety of exceptions that can occur when a command fails.

failedCommand :: WDSessionStateIO s => FailedCommandType -> String -> s a #

Convenience function to throw a FailedCommand locally with no server-side info present.

mkFailedCommandInfo :: WDSessionState s => String -> s FailedCommandInfo #

Constructs a FailedCommandInfo from only an error message.

data FailedCommandType #

The type of failed command exception that occured.

data FailedCommandInfo #

Detailed information about the failed command provided by the server.

Constructors

FailedCommandInfo 

Fields

Instances

Show FailedCommandInfo #

Provides a readable printout of the error information, useful for logging.

FromJSON FailedCommandInfo # 

data StackFrame #

An individual stack frame from the stack trace provided by the server during a FailedCommand.