Struct webdriver::error::WebDriverError
[−]
[src]
pub struct WebDriverError { pub error: ErrorStatus, pub message: Cow<'static, str>, // some fields omitted }
Fields
error: ErrorStatus
message: Cow<'static, str>
Methods
impl WebDriverError
[src]
fn new<S>(error: ErrorStatus, message: S) -> WebDriverError where S: Into<Cow<'static, str>>
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.
impl From<DecoderError> for WebDriverError
[src]
fn from(err: DecoderError) -> WebDriverError
Performs the conversion.
impl From<FromBase64Error> for WebDriverError
[src]
fn from(err: FromBase64Error) -> WebDriverError
Performs the conversion.
impl From<Box<Error>> for WebDriverError
[src]
fn from(err: Box<Error>) -> WebDriverError
Performs the conversion.