relab/gorums

chore: update errors to follow better style and use the %w verb

Closed this issue · 1 comments

Some of the errors returned by Gorums do not follow the recommended style. These should be fixed.

We may use the following in three more cases in node.go:

return nodeError{nodeID: n.id, cause: err}