Skip to content

Commit

Permalink
Merge pull request ipfs/go-ipfs-util#9 from ipfs/fix-staticcheck
Browse files Browse the repository at this point in the history
fix staticcheck

This commit was moved from ipfs/go-ipfs-util@7866b51
  • Loading branch information
marten-seemann authored Jun 2, 2021
2 parents c3522b2 + 973264d commit bc3a4d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ const DefaultIpfsHash = mh.SHA2_256
var Debug bool

// ErrNotImplemented signifies a function has not been implemented yet.
var ErrNotImplemented = errors.New("Error: not implemented yet.")
var ErrNotImplemented = errors.New("error: not implemented yet")

// ErrTimeout implies that a timeout has been triggered
var ErrTimeout = errors.New("Error: Call timed out.")
var ErrTimeout = errors.New("error: call timed out")

// ErrSearchIncomplete implies that a search type operation didnt
// ErrSearchIncomplete implies that a search type operation didn't
// find the expected node, but did find 'a' node.
var ErrSearchIncomplete = errors.New("Error: Search Incomplete.")
var ErrSearchIncomplete = errors.New("error: search incomplete")

// ErrCast is returned when a cast fails AND the program should not panic.
func ErrCast() error {
Expand Down

0 comments on commit bc3a4d7

Please sign in to comment.