JsErrorInformation Struct

The information of an error value (https://html.spec.whatwg.org/multipage/webappapis.html#extract-error).

public readonly struct JsErrorInformation : IEquatable<JsErrorInformation>
Implements

Constructors

NameDescription
JsErrorInformation(string, string, int, int)The information of an error value (https://html.spec.whatwg.org/multipage/webappapis.html#extract-error).

JsErrorInformation(string, string, int, int)

The information of an error value (https://html.spec.whatwg.org/multipage/webappapis.html#extract-error).

public JsErrorInformation(string Message, string Filename, int LineNumber, int ColumnNumber)

Parameters

Message string
The message.
Filename string
The URL of the script, or an empty string.
LineNumber int
The line (1-based), or 0.
ColumnNumber int
The column (1-based), or 0.

Properties

NameDescription
ColumnNumberThe column (1-based), or 0.
FilenameThe URL of the script, or an empty string.
LineNumberThe line (1-based), or 0.
MessageThe message.

ColumnNumber

IJsAdapter.cs

The column (1-based), or 0.

public int ColumnNumber { get; init; }

Property value

int

The URL of the script, or an empty string.

public string Filename { get; init; }

Property value

string

LineNumber

IJsAdapter.cs

The line (1-based), or 0.

public int LineNumber { get; init; }

Property value

int

The message.

public string Message { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, string, int, int)
Equals(JsErrorInformation)
Equals(object)
GetHashCode()
ToString()

Deconstruct(string, string, int, int)

public void Deconstruct(out string Message, out string Filename, out int LineNumber, out int ColumnNumber)

Parameters

Message string
Filename string
LineNumber int
ColumnNumber int

No documentation is available.

Equals overloads

Equals(JsErrorInformation)

public bool Equals(JsErrorInformation other)
Parameters
other JsErrorInformation
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(JsErrorInformation, JsErrorInformation)
operator !=(JsErrorInformation, JsErrorInformation)

operator ==(JsErrorInformation, JsErrorInformation)

public static bool operator ==(JsErrorInformation left, JsErrorInformation right)

Parameters

left JsErrorInformation
right JsErrorInformation

Returns

bool

No documentation is available.

operator !=(JsErrorInformation, JsErrorInformation)

public static bool operator !=(JsErrorInformation left, JsErrorInformation right)

Parameters

left JsErrorInformation
right JsErrorInformation

Returns

bool

No documentation is available.