Table of Contents

Enum UnhandledErrorKind

Namespace
WebDriverBiDi.Protocol
Assembly
WebDriverBiDi.dll

The enumerated types of unhandled errors by the protocol transport.

public enum UnhandledErrorKind

Fields

EventHandlerException = 3

An error resulting from an unhandled exception in a user-defined event handler for a protocol event.

ProtocolError = 0

An error resulting from a message recognized as an error response or as a registered event whose payload cannot be deserialized, for example because it lacks required values, or from an unexpected failure while processing an incoming message. A message that cannot be parsed as JSON is an UnknownMessage instead.

UnexpectedError = 2

An error resulting from a well-formed error response that does not correspond to a command that the user has sent.

UnknownMessage = 1

An error resulting from a message that cannot be parsed as JSON, or that is not a command response for a pending command, an error response, or a registered event.