WasmAllocationException Class

A memory, a table or a value cannot be allocated or grow, or an index is out of bounds (a RangeError in JavaScript).

public sealed class WasmAllocationException : WasmException
Inheritance
WasmException WasmAllocationException

Constructors

NameDescription
WasmAllocationException(string)Creates an exception.
WasmAllocationException(string, Exception?)Creates an exception.

WasmAllocationException overloads

WasmAllocationException(string)

WasmExceptions.cs

Creates an exception.

public WasmAllocationException(string message)
Parameters
message string

WasmAllocationException(string, Exception?)

WasmExceptions.cs

Creates an exception.

public WasmAllocationException(string message, Exception? innerException)
Parameters
message string
innerException Exception?