summaryrefslogtreecommitdiff
path: root/patch.common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 02:37:14 -0500
committerJeff Carr <[email protected]>2025-10-07 02:37:14 -0500
commitdd844e1ef9cd144dbeb0af75348273ba83aac064 (patch)
tree8e822e5cf1ef30f417404eca8d787c9ea69f9418 /patch.common.go
parent99aa16c0ccc3a0131f6dd7920ff1773dfbe338ae (diff)
rethinking thisv0.0.169
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)
+}