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

Function RecordError

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

Source from the content-addressed store, hash-verified

15}
16
17func RecordError(x float32) Result[float32, imports.E2] {
18 return imports.RecordError(x)
19}
20
21func VariantError(x float32) Result[float32, imports.E3] {
22 return imports.VariantError(x)

Callers

nothing calls this directly

Calls 1

RecordErrorMethod · 0.45

Tested by

no test coverage detected