github.com/koko1123/flow-go-1@v0.29.6/engine/access/rpc/backend/errors.go (about) 1 package backend 2 3 import ( 4 "fmt" 5 6 "github.com/koko1123/flow-go-1/model/flow" 7 ) 8 9 // InsufficientExecutionReceipts indicates that no execution receipt were found for a given block ID 10 type InsufficientExecutionReceipts struct { 11 blockID flow.Identifier 12 receiptCount int 13 } 14 15 func (e InsufficientExecutionReceipts) Error() string { 16 return fmt.Sprintf("insufficient execution receipts found (%d) for block ID: %s", e.receiptCount, e.blockID.String()) 17 }