Class bot.Error
Extends
.
Defined in: error.js.
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 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 Attributes | Method Name and Description |
---|---|
toString()
|
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.