WebAssembly exception handling instructions
WebAssembly exception handling instructions.
Throw
Try
try_table-
Enables you to test a block of code to see whether it throws an exception, handling the exception with a catch clause clause if so.
Catch clauses
catch-
Catches exceptions matching a specified error
tag, pushing the exception payload to the stack. catch_all-
Catches any exception and pushes nothing to the stack.
catch_ref-
Catches exceptions matching a specified error
tag, pushing the exception payload and anexnrefvalue representing the exception to the stack. catch_all_ref-
Catches any exception and pushes an
exnrefvalue representing the exception to the stack.
See also
exnreftypetagdefinitionWebAssembly.ExceptionJavaScript interfaceWebAssembly.TagJavaScript interface