Class ExceptionDetails
- Namespace
- WebDriverBiDi.Script
- Assembly
- WebDriverBiDi.dll
Object containing the details of an exception thrown by a script.
public record ExceptionDetails : IEquatable<ExceptionDetails>
- Inheritance
-
ExceptionDetails
- Implements
- Inherited Members
Constructors
ExceptionDetails(ExceptionDetails)
protected ExceptionDetails(ExceptionDetails original)
Parameters
originalExceptionDetails
Properties
ColumnNumber
Gets the column number of the statement that caused the exception.
[JsonPropertyName("columnNumber")]
[JsonRequired]
[JsonInclude]
public ulong ColumnNumber { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Exception
Gets the RemoteValue representing the value of the exception.
[JsonPropertyName("exception")]
[JsonRequired]
[JsonInclude]
public RemoteValue Exception { get; }
Property Value
LineNumber
Gets the line number of the statement that caused the exception.
[JsonPropertyName("lineNumber")]
[JsonRequired]
[JsonInclude]
public ulong LineNumber { get; }
Property Value
StackTrace
Gets the stack trace of the exception.
[JsonPropertyName("stackTrace")]
[JsonRequired]
[JsonInclude]
public StackTrace StackTrace { get; }
Property Value
Text
Gets the text of the exception.
[JsonPropertyName("text")]
[JsonRequired]
[JsonInclude]
public string Text { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ExceptionDetails?)
public virtual bool Equals(ExceptionDetails? other)
Parameters
otherExceptionDetails
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ExceptionDetails?, ExceptionDetails?)
public static bool operator ==(ExceptionDetails? left, ExceptionDetails? right)
Parameters
leftExceptionDetailsrightExceptionDetails
Returns
operator !=(ExceptionDetails?, ExceptionDetails?)
public static bool operator !=(ExceptionDetails? left, ExceptionDetails? right)
Parameters
leftExceptionDetailsrightExceptionDetails