MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / Error

Method Error

crates/c-api/include/wasmtime/error.hh:30–30  ·  view source on GitHub ↗

\brief Creates an error with the provided message.

Source from the content-addressed store, hash-verified

28
29 /// \brief Creates an error with the provided message.
30 Error(const std::string &s) : ptr(wasmtime_error_new(s.c_str())) {}
31
32 /// \brief Returns the error message associated with this error.
33 std::string message() const {

Callers

nothing calls this directly

Calls 1

wasmtime_error_newFunction · 0.85

Tested by

no test coverage detected