diff options
Diffstat (limited to 'patch.common.go')
| -rw-r--r-- | patch.common.go | 13 |
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) +} |
