github.com/koko1123/flow-go-1@v0.29.6/ledger/partial/ptrie/errors.go (about)

     1  package ptrie
     2  
     3  import "github.com/koko1123/flow-go-1/ledger"
     4  
     5  type ErrMissingPath struct {
     6  	Paths []ledger.Path
     7  }
     8  
     9  func (e ErrMissingPath) Error() string {
    10  	str := "paths are missing: \n"
    11  	for _, k := range e.Paths {
    12  		str += "\t" + k.String() + "\n"
    13  	}
    14  	return str
    15  }