MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / ptr

Method ptr

error.go:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (e *Error) ptr() *C.wasmtime_error_t {
20 ret := e._ptr
21 if ret == nil {
22 panic("object has been closed already")
23 }
24 maybeGC()
25 return ret
26}
27
28func (e *Error) Error() string {
29 message := C.wasm_byte_vec_t{}

Callers 2

ErrorMethod · 0.95
ExitStatusMethod · 0.95

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected