|
Wasmtime
|
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, Error > | data |
| Storage for what this trap represents. | |