Skip to content

Commit

Permalink
[operator] add errs util
Browse files Browse the repository at this point in the history
  • Loading branch information
mfordjody committed Dec 12, 2024
1 parent 0484e29 commit 9bca2d3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions operator/pkg/util/errs.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package util

const (
defaultSeparator = ", "
)

type Errors []error

func (e Errors) Error() string {
return ToString(e, defaultSeparator)

Check failure on line 10 in operator/pkg/util/errs.go

View workflow job for this annotation

GitHub Actions / Go Test

undefined: ToString
}

func (e Errors) ToString() {

}

0 comments on commit 9bca2d3

Please sign in to comment.