MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / StringError

Method StringError

tests/runtime/results/intermediate.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace test_exports = ::exports::test::results::test;
11
12std::expected<float, wit::string> test_exports::StringError(float a) {
13 return test_imports::StringError(a);
14}
15
16test_exports::E to_exports_e(test_imports::E e) {
17 switch (e) {

Callers

nothing calls this directly

Calls 1

StringErrorFunction · 0.70

Tested by

no test coverage detected