Show / Hide Table of Contents

Class TrapException

The exception for WebAssembly traps.

Inheritance
System.Object
WasmtimeException
TrapException
Inherited Members
WasmtimeException.Frames
WasmtimeException.ExitCode
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public class TrapException : WasmtimeException

Constructors

| Improve this Doc View Source

TrapException()

Declaration
public TrapException()
| 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
Type Description
TrapCode
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX