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

Unified Diff: service/datastore/errors.go

Issue 1516173002: Fix error message from KeyForObj when passing an invalid struct. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: remove accidental extra test 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
Index: service/datastore/errors.go
diff --git a/service/datastore/errors.go b/service/datastore/errors.go
index 76a577be3626319fd3e0b4de1dc3850513bc6248..5d4cb74b7c503a63d66dcb45cb615aa639393783 100644
--- a/service/datastore/errors.go
+++ b/service/datastore/errors.go
@@ -13,15 +13,9 @@ import (
// These errors are returned by various datastore.Interface methods.
var (
- ErrInvalidEntityType = datastore.ErrInvalidEntityType
ErrInvalidKey = datastore.ErrInvalidKey
ErrNoSuchEntity = datastore.ErrNoSuchEntity
ErrConcurrentTransaction = datastore.ErrConcurrentTransaction
-
- // ErrMetaFieldUnset is returned from PropertyLoadSaver.{Get,Set}Meta
- // implementations when the specified meta key isn't set on the struct at
- // all.
- ErrMetaFieldUnset = fmt.Errorf("gae: meta field unset")
)
// ErrFieldMismatch is returned when a field is to be loaded into a different

Powered by Google App Engine
This is Rietveld 408576698