Class ExceptionDetails
Detailed information about exception (or error) that was thrown during script compilation or execution.
public sealed class ExceptionDetails
- Inheritance
-
ExceptionDetails
- Inherited Members
Properties
ColumnNumber
Column number of the exception location (0-based).
[JsonPropertyName("columnNumber")]
public long ColumnNumber { get; set; }
Property Value
Exception
Exception object if available.
[JsonPropertyName("exception")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RemoteObject? Exception { get; set; }
Property Value
ExceptionId
Exception id.
[JsonPropertyName("exceptionId")]
public long ExceptionId { get; set; }
Property Value
ExceptionMetaData
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.
[JsonPropertyName("exceptionMetaData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? ExceptionMetaData { get; set; }
Property Value
ExecutionContextId
Identifier of the context where exception happened.
[JsonPropertyName("executionContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ExecutionContextId { get; set; }
Property Value
- long?
LineNumber
Line number of the exception location (0-based).
[JsonPropertyName("lineNumber")]
public long LineNumber { get; set; }
Property Value
ScriptId
Script ID of the exception location.
[JsonPropertyName("scriptId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ScriptId { get; set; }
Property Value
StackTrace
JavaScript stack trace if available.
[JsonPropertyName("stackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? StackTrace { get; set; }
Property Value
Text
Exception text, which should be used together with exception object when available.
[JsonPropertyName("text")]
public string Text { get; set; }
Property Value
Url
URL of the exception location, to be used when the script was not reported.
[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }