Skip to content

Commit

Permalink
docs: godoc for error creating func
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrMatsko committed Jan 15, 2025
1 parent 2b0cd50 commit ef3e89d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metric_source/local/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type ErrEvalExpr struct {
target string
}

// ErrorEvalExpression creates ErrEvalExpr with given err and target.
func ErrorEvalExpression(err error, target string) ErrEvalExpr {
return ErrEvalExpr{
internalError: err,
Expand Down

0 comments on commit ef3e89d

Please sign in to comment.