Package org.openqa.selenium.htmlunit.w3
Class Error
- java.lang.Object
-
- org.openqa.selenium.htmlunit.w3.Error
-
public class Error extends Object
Errors are represented in the WebDriver protocol by an HTTP response with an HTTP status in the 4xx or 5xx range, and a JSON body containing details of the error. The body is a JSON Object and has a field named "value" whose value is an object bearing three, and sometimes four, fields: - "error", containing a string indicating the error code. - "message", containing an implementation-defined string with a human readable description of the kind of error that occurred. - "stacktrace", containing an implementation-defined string with a stack trace report of the active stack frames at the time when the error occurred. Optionally "data", which is a JSON Object with additional error data helpful in diagnosing the error.- Author:
- Ronald Brill
- See Also:
- Errors