WebDriverClient.ProtocolMismatchError exception (web_driver_client v0.3.0)

Copy Markdown View Source

Indicates the server returned a parsable response, but not for the requested protocol.

Summary

Functions

Callback implementation for Exception.message/1.

Types

t()

@type t() :: %{
  response: {:ok, term()} | {:error, WebDriverClient.basic_reason()},
  expected_protocol: WebDriverClient.Config.protocol(),
  actual_protocol: WebDriverClient.Config.protocol()
}

Functions

message(error)

Callback implementation for Exception.message/1.