Struct webdriver::error::WebDriverError
[−]
[src]
pub struct WebDriverError { pub status: ErrorStatus, pub message: String, // some fields omitted }
Fields
status: ErrorStatus
message: String
Methods
impl WebDriverError
[src]
fn new(status: ErrorStatus, message: &str) -> WebDriverError
fn status_code(&self) -> &'static str
fn http_status(&self) -> StatusCode
fn to_json_string(&self) -> String
fn set_delete_session(&mut self)
fn delete_session(&self) -> bool
Trait Implementations
impl Debug for WebDriverError
[src]
impl Display for WebDriverError
[src]
impl ToJson for WebDriverError
[src]
impl Error for WebDriverError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ParserError> for WebDriverError
[src]
fn from(err: ParserError) -> WebDriverError
Performs the conversion.
impl From<IoError> for WebDriverError
[src]
fn from(err: IoError) -> WebDriverError
Performs the conversion.