Fix lint
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
7de86c5eb6
commit
627ed0cfd2
|
@ -18,10 +18,12 @@ package error
|
|||
|
||||
import "fmt"
|
||||
|
||||
// ErrValueNotFoundForKey represents an error where a key could not be found
|
||||
type ErrValueNotFoundForKey struct {
|
||||
Key string
|
||||
}
|
||||
|
||||
// Error is the error implementation
|
||||
func (e *ErrValueNotFoundForKey) Error() string {
|
||||
return fmt.Sprintf("could not find value for key %s", e.Key)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue