Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: impl Unwrap (#12867)

p0nyf8eb9699ced5
diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.go
index 694f121477..0fc0fbe79d 100644
--- a/backend/plugin/db/driver.go
+++ b/backend/plugin/db/driver.go
@@ -449,3 +449,7 @@ type ErrorWithPosition struct {
func (e *ErrorWithPosition) Error() string {
return e.Err.Error()
}
+
+func (e *ErrorWithPosition) Unwrap() error {
+ return e.Err
+}