Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: service/datastore/errors.go

Issue 1521823003: Clean up callback interfaces. (Closed) Base URL: https://github.com/luci/gae.git@extra
Patch Set: fixins Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « service/datastore/datastore_test.go ('k') | service/datastore/interface.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/errors.go
diff --git a/service/datastore/errors.go b/service/datastore/errors.go
index 5d4cb74b7c503a63d66dcb45cb615aa639393783..be125f8e16fbddd247dc033fc0f2d2b8a9b3d824 100644
--- a/service/datastore/errors.go
+++ b/service/datastore/errors.go
@@ -8,6 +8,7 @@ import (
"fmt"
"reflect"
+ "github.com/luci/gae"
"google.golang.org/appengine/datastore"
)
@@ -16,6 +17,9 @@ var (
ErrInvalidKey = datastore.ErrInvalidKey
ErrNoSuchEntity = datastore.ErrNoSuchEntity
ErrConcurrentTransaction = datastore.ErrConcurrentTransaction
+
+ // Stop is an alias for "github.com/luci/gae".Stop
+ Stop = gae.Stop
)
// ErrFieldMismatch is returned when a field is to be loaded into a different
« no previous file with comments | « service/datastore/datastore_test.go ('k') | service/datastore/interface.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698