Class ExceptionDetails
Detailed information about exception (or error) that was thrown during script compilation or execution.
public sealed record ExceptionDetails : IEquatable<ExceptionDetails>
- Inheritance
-
ExceptionDetails
- Implements
- Inherited Members
Constructors
ExceptionDetails(long, string, long, long)
Detailed information about exception (or error) that was thrown during script compilation or execution.
public ExceptionDetails(long ExceptionId, string Text, long LineNumber, long ColumnNumber)
Parameters
ExceptionIdlongException id.
TextstringException text, which should be used together with exception object when available.
LineNumberlongLine number of the exception location (0-based).
ColumnNumberlongColumn number of the exception location (0-based).
Properties
ColumnNumber
Column number of the exception location (0-based).
public long ColumnNumber { get; init; }
Property Value
Exception
Exception object if available.
public RemoteObject? Exception { get; init; }
Property Value
ExceptionId
Exception id.
public long ExceptionId { get; init; }
Property Value
ExceptionMetaData
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.
public JsonElement? ExceptionMetaData { get; init; }
Property Value
ExecutionContextId
Identifier of the context where exception happened.
public ExecutionContextId? ExecutionContextId { get; init; }
Property Value
LineNumber
Line number of the exception location (0-based).
public long LineNumber { get; init; }
Property Value
ScriptId
Script ID of the exception location.
public ScriptId? ScriptId { get; init; }
Property Value
StackTrace
JavaScript stack trace if available.
public StackTrace? StackTrace { get; init; }
Property Value
Text
Exception text, which should be used together with exception object when available.
public string Text { get; init; }
Property Value
Url
URL of the exception location, to be used when the script was not reported.
public string? Url { get; init; }