summaryrefslogtreecommitdiff
path: root/patch.common.go
diff options
context:
space:
mode:
Diffstat (limited to 'patch.common.go')
-rw-r--r--patch.common.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/patch.common.go b/patch.common.go
new file mode 100644
index 0000000..01d4cc1
--- /dev/null
+++ b/patch.common.go
@@ -0,0 +1,13 @@
+package forgepb
+
+import (
+ "fmt"
+)
+
+func (pb *Patch) Error(err any) error {
+ return fmt.Errorf("%v", err)
+}
+
+func (pb *Patches) Error(err any) error {
+ return fmt.Errorf("%v", err)
+}