// Code generated by wit-bindgen-go. DO NOT EDIT. // Package ioerror represents the imported interface "wasi:io/error@0.2.0". package ioerror import ( "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the imported resource "wasi:io/error@0.2.0#error". // // resource error type Error cm.Resource // ResourceDrop represents the imported resource-drop for resource "error". // // Drops a resource handle. // //go:nosplit func (self Error) ResourceDrop() { self0 := cm.Reinterpret[uint32](self) wasmimport_ErrorResourceDrop((uint32)(self0)) return } // ToDebugString represents the imported method "to-debug-string". // // to-debug-string: func() -> string // //go:nosplit func (self Error) ToDebugString() (result string) { self0 := cm.Reinterpret[uint32](self) wasmimport_ErrorToDebugString((uint32)(self0), &result) return }