Class ErrorReceivedEventArgs
- Namespace
- WebDriverBiDi.Protocol
- Assembly
- WebDriverBiDi.dll
Object containing event data for events raised when a protocol error is received from a WebDriver BiDi connection.
public record ErrorReceivedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<ErrorReceivedEventArgs>
- Inheritance
-
ErrorReceivedEventArgs
- Implements
- Inherited Members
Constructors
ErrorReceivedEventArgs(ErrorResult)
Initializes a new instance of the ErrorReceivedEventArgs class.
public ErrorReceivedEventArgs(ErrorResult errorData)
Parameters
errorDataErrorResultThe data about the error received from the connection.
Exceptions
- ArgumentNullException
Thrown when a null is passed for the error data.
ErrorReceivedEventArgs(ErrorReceivedEventArgs)
protected ErrorReceivedEventArgs(ErrorReceivedEventArgs original)
Parameters
originalErrorReceivedEventArgs
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
ErrorData
Gets the error response data.
public ErrorResult ErrorData { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ErrorReceivedEventArgs?)
public virtual bool Equals(ErrorReceivedEventArgs? other)
Parameters
otherErrorReceivedEventArgs
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ErrorReceivedEventArgs?, ErrorReceivedEventArgs?)
public static bool operator ==(ErrorReceivedEventArgs? left, ErrorReceivedEventArgs? right)
Parameters
leftErrorReceivedEventArgsrightErrorReceivedEventArgs
Returns
operator !=(ErrorReceivedEventArgs?, ErrorReceivedEventArgs?)
public static bool operator !=(ErrorReceivedEventArgs? left, ErrorReceivedEventArgs? right)
Parameters
leftErrorReceivedEventArgsrightErrorReceivedEventArgs