github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/modules/wasm/runtime/wasmtime/errors.go (about) 1 package wasmtime 2 3 import "github.com/pkg/errors" 4 5 var ( 6 ErrInvalidWasmCode = errors.New("invalid wasm code") 7 ErrFailedToNewWasmModule = errors.New("failed to new wasm module") 8 ErrInstanceNotStarted = errors.New("instance not started") 9 ErrInvalidExportFunc = errors.New("invalid export func") 10 ErrInvalidExportMem = errors.New("invalid export memory") 11 ErrInvalidImportFunc = errors.New("invalid import func") 12 ErrMemAccessOverflow = errors.New("memory access overflow") 13 ErrUnknownABIName = errors.New("unknown abi name") 14 )