This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new 9bca2d34 [operator] add errs util
9bca2d34 is described below
commit 9bca2d347f35d65f9ee07c7775b3c01970b5dbde
Author: mfordjody <[email protected]>
AuthorDate: Thu Dec 12 19:06:46 2024 +0800
[operator] add errs util
---
operator/pkg/util/errs.go | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/operator/pkg/util/errs.go b/operator/pkg/util/errs.go
new file mode 100644
index 00000000..d80ca1c2
--- /dev/null
+++ b/operator/pkg/util/errs.go
@@ -0,0 +1,15 @@
+package util
+
+const (
+ defaultSeparator = ", "
+)
+
+type Errors []error
+
+func (e Errors) Error() string {
+ return ToString(e, defaultSeparator)
+}
+
+func (e Errors) ToString() {
+
+}