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

Function StringError

tests/runtime/results/intermediate.go:9–11  ·  view source on GitHub ↗
(x float32)

Source from the content-addressed store, hash-verified

7)
8
9func StringError(x float32) Result[float32, string] {
10 return imports.StringError(x)
11}
12
13func EnumError(x float32) Result[float32, imports.E] {
14 return imports.EnumError(x)

Callers

nothing calls this directly

Calls 1

StringErrorMethod · 0.45

Tested by

no test coverage detected