Class TrapException
The exception for WebAssembly traps.
Inheritance
System.Object
TrapException
Assembly: Wasmtime.Dotnet.dll
Syntax
public class TrapException : WasmtimeException
Constructors
|
Improve this Doc
View Source
TrapException()
Declaration
|
Improve this Doc
View Source
TrapException(SerializationInfo, StreamingContext)
Declaration
protected TrapException(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
|
Improve this Doc
View Source
TrapException(String)
Declaration
public TrapException(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
TrapException(String, Nullable<Exception>)
Declaration
public TrapException(string message, Exception? inner)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.Nullable<Exception> |
inner |
|
Properties
|
Improve this Doc
View Source
Type
Indentifies which type of trap this is.
Declaration
public TrapCode Type { get; }
Property Value