MCPcopy Create free account
hub / github.com/chain/txvm / errorf

Function errorf

protocol/txvm/error.go:11–13  ·  view source on GitHub ↗
(msg string, arg ...interface{})

Source from the content-addressed store, hash-verified

9type vmError error
10
11func errorf(msg string, arg ...interface{}) error {
12 return vmError(fmt.Errorf(msg, arg...))
13}
14
15func (vm *VM) wraperr(e error) error {
16 return errors.WithData(e, "vm", vm)

Callers 10

contract.goFile · 0.85
bitwise.goFile · 0.85
strings.goFile · 0.85
tx.goFile · 0.85
crypto.goFile · 0.85
values.goFile · 0.85
vm.goFile · 0.85
log.goFile · 0.85
data.goFile · 0.85
control.goFile · 0.85

Calls 1

vmErrorTypeAlias · 0.85

Tested by

no test coverage detected