Skip to content

Commit c01f9d2

Browse files
authored
docs: update docs
updated docs to match code
1 parent 2d26dde commit c01f9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maintenance/errors/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
// the optional exposedErr is provided, it is attached as prefix
1414
// to the returned error. If the given err is not any of the above
1515
// ones, the given exposedErr (if present) is wrapped as prefix
16-
// to the returned error.
16+
// to the returned error, if there is an err that is not nil.
1717
func Hide(ctx context.Context, err, exposedErr error) error {
1818
if err == nil {
1919
return nil

0 commit comments

Comments
 (0)