WasmThrowException Class
WebAssembly threw an exception (throw, throw_ref), or a host function throws an exception in WebAssembly: a WasmHostCallback that throws this exception throws WasmThrowException.Exception in WebAssembly, where it can be caught.
public sealed class WasmThrowException : WasmException- Inheritance
WasmExceptionWasmThrowException
Constructors
| Name | Description |
|---|---|
| WasmThrowException(WasmExceptionReference) | Creates an exception. |
WasmThrowException(WasmExceptionReference)
WasmExceptions.csCreates an exception.
public WasmThrowException(WasmExceptionReference exception)Parameters
exceptionWasmExceptionReference- The WebAssembly exception (see
WasmStore.CreateException).
Properties
| Name | Description |
|---|---|
| Exception | Gets the WebAssembly exception. |