Wasmtime
wasmtime::TrapError Struct Reference

Structure used to represent either a Trap or an Error. More...

#include <trap.hh>

Public Member Functions

 TrapError (Trap t)
 Creates a new TrapError from a Trap
 
 TrapError (Error e)
 Creates a new TrapError from an Error
 
std::string message () const
 Dispatches internally to return the message associated with this error.
 

Data Fields

std::variant< Trap, Errordata
 Storage for what this trap represents.
 

Detailed Description

Structure used to represent either a Trap or an Error.


The documentation for this struct was generated from the following file: