Class WasmtimeException
The base type for Wasmtime exceptions.
Inheritance
System.Object
WasmtimeException
Assembly: Wasmtime.Dotnet.dll
Syntax
public class WasmtimeException : Exception
Constructors
|
Improve this Doc
View Source
WasmtimeException()
Declaration
public WasmtimeException()
|
Improve this Doc
View Source
WasmtimeException(SerializationInfo, StreamingContext)
Declaration
protected WasmtimeException(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
|
Improve this Doc
View Source
WasmtimeException(String)
Declaration
public WasmtimeException(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
WasmtimeException(String, Nullable<Exception>)
Declaration
public WasmtimeException(string message, Exception? inner)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.Nullable<Exception> |
inner |
|
Properties
|
Improve this Doc
View Source
ExitCode
Gets the exit code when the error results from executing the WASI proc_exit
function.
The value is null
if the error was not an exit error.
Declaration
public int? ExitCode { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Frames
Declaration
public IReadOnlyList<TrapFrame>? Frames { get; }
Property Value
Type |
Description |
System.Nullable<IReadOnlyList<TrapFrame>> |
|