Enum webdriver::error::ErrorStatus [] [src]

pub enum ErrorStatus {
    ElementNotSelectable,
    ElementNotVisible,
    InvalidArgument,
    InvalidCookieDomain,
    InvalidElementCoordinates,
    InvalidElementState,
    InvalidSelector,
    InvalidSessionId,
    JavascriptError,
    MoveTargetOutOfBounds,
    NoSuchAlert,
    NoSuchElement,
    NoSuchFrame,
    NoSuchWindow,
    ScriptTimeout,
    SessionNotCreated,
    StaleElementReference,
    Timeout,
    UnableToSetCookie,
    UnexpectedAlertOpen,
    UnknownError,
    UnknownPath,
    UnknownMethod,
    UnsupportedOperation,
}

Variants

ElementNotSelectableElementNotVisibleInvalidArgumentInvalidCookieDomainInvalidElementCoordinatesInvalidElementStateInvalidSelectorInvalidSessionIdJavascriptErrorMoveTargetOutOfBoundsNoSuchAlertNoSuchElementNoSuchFrameNoSuchWindowScriptTimeoutSessionNotCreatedStaleElementReferenceTimeoutUnableToSetCookieUnexpectedAlertOpenUnknownErrorUnknownPathUnknownMethodUnsupportedOperation

Methods

impl ErrorStatus
[src]

fn status_code(&self) -> &'static str

fn http_status(&self) -> StatusCode

Trait Implementations

impl Debug for ErrorStatus
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for ErrorStatus
[src]

fn eq(&self, __arg_0: &ErrorStatus) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.