github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/release/github/errors.go (about)

     1  package github
     2  
     3  import "fmt"
     4  
     5  // ErrNotFound is error type for not found in API
     6  type ErrNotFound struct {
     7  	Name  string
     8  	Key   string
     9  	Value string
    10  }
    11  
    12  func (e ErrNotFound) Error() string {
    13  	return fmt.Sprintf("%s not found with %s: %s", e.Name, e.Key, e.Value)
    14  }