github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/trie/errors.go (about) 1 package trie 2 3 import ( 4 "fmt" 5 6 "github.com/neatlab/neatio/utilities/common" 7 ) 8 9 type MissingNodeError struct { 10 NodeHash common.Hash 11 Path []byte 12 } 13 14 func (err *MissingNodeError) Error() string { 15 return fmt.Sprintf("missing trie node %x (path %x)", err.NodeHash, err.Path) 16 }