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.

Instances
Bounded FailedCommandType # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

Enum FailedCommandType # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

Eq FailedCommandType # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

Ord FailedCommandType # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

Show FailedCommandType # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

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.

Instance details

Defined in Test.WebDriver.Exceptions.Internal

FromJSON FailedCommandInfo # 
Instance details

Defined in Test.WebDriver.Exceptions.Internal

data StackFrame #

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