Class WasmStackTrace
A snapshot of the stack frames of an WaaS.Runtime.ExecutionContext at the time an exception occurred. The first frame is the innermost one.
Assembly: WaaS.Core.dll
View Source
Declaration
[Serializable]
public sealed class WasmStackTrace
Properties
Frames
View Source
Declaration
public IReadOnlyList<WasmStackTraceFrame> Frames { get; }
Methods
FromException(Exception)
Finds the stack trace attached to the exception or its inner exceptions.
View Source
Declaration
public static WasmStackTrace FromException(Exception exception)
Returns
WaaS.Runtime.WasmStackTrace: The stack trace, or null if no stack trace is attached.
Parameters
| Type | Name |
|---|---|
System.Exception | exception |
ToString()
Returns a string that represents the current object.
View Source
Declaration
public override string ToString()
Returns
System.String: A string that represents the current object.