Class Index | File Index

Classes


Class bot.Error


Extends .

Defined in: error.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
bot.Error(code, opt_message)
Error extension that includes error status codes from the WebDriver wire protocol: http://code.google.com/p/selenium/wiki/JsonWireProtocol#Response_Status_Codes
Field Summary
Field Attributes Field Name and Description
 
This error's status code.
 
Flag used for duck-typing when this code is embedded in a Firefox extension.
 
 
 
<static>  
bot.Error.State
Status strings enumerated in the W3C WebDriver working draft.
 
Method Summary
Method Attributes Method Name and Description
 
Class Detail
bot.Error(code, opt_message)
Error extension that includes error status codes from the WebDriver wire protocol: http://code.google.com/p/selenium/wiki/JsonWireProtocol#Response_Status_Codes
Parameters:
{!bot.ErrorCode} code
The error's status code.
{string=} opt_message
Optional error message.
Field Detail
code
This error's status code.

isAutomationError
Flag used for duck-typing when this code is embedded in a Firefox extension. This is required since an Error thrown in one component and then reported to another will fail instanceof checks in the second component.

message

name

stack

<static> bot.Error.State
Status strings enumerated in the W3C WebDriver working draft.
See:
http://www.w3.org/TR/webdriver/#status-codes

state
Method Detail
{string} toString()
Returns:
{string} The string representation of this error.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:01 GMT-0500 (EST)