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

Function EnumError

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

Source from the content-addressed store, hash-verified

11}
12
13func EnumError(x float32) Result[float32, imports.E] {
14 return imports.EnumError(x)
15}
16
17func RecordError(x float32) Result[float32, imports.E2] {
18 return imports.RecordError(x)

Callers

nothing calls this directly

Calls 1

EnumErrorMethod · 0.45

Tested by

no test coverage detected