github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/ledger/partial/ptrie/errors.go (about) 1 package ptrie 2 3 import "github.com/onflow/flow-go/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 }