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

Function VariantError

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

Source from the content-addressed store, hash-verified

19}
20
21func VariantError(x float32) Result[float32, imports.E3] {
22 return imports.VariantError(x)
23}
24
25func EmptyError(x uint32) Result[uint32, Unit] {
26 return imports.EmptyError(x)

Callers

nothing calls this directly

Calls 1

VariantErrorMethod · 0.45

Tested by

no test coverage detected