func init() { appengine_internal.RegisterErrorCodeMap("taskqueue", pb.TaskQueueServiceError_ErrorCode_name) // Datastore error codes are shifted by DATASTORE_ERROR when presented through taskqueue. dsCode := int32(pb.TaskQueueServiceError_DATASTORE_ERROR) + int32(dspb.Error_TIMEOUT) appengine_internal.RegisterTimeoutErrorCode("taskqueue", dsCode) // Transaction registration. appengine_internal.RegisterTransactionSetter(setTransaction) appengine_internal.RegisterTransactionSetter(func(x *pb.TaskQueueBulkAddRequest, t *dspb.Transaction) { for _, req := range x.AddRequest { setTransaction(req, t) } }) }
func init() { appengine_internal.NamespaceMods["datastore_v3"] = namespaceMod appengine_internal.RegisterErrorCodeMap("datastore_v3", pb.Error_ErrorCode_name) appengine_internal.RegisterTimeoutErrorCode("datastore_v3", int32(pb.Error_TIMEOUT)) }
func init() { appengine_internal.RegisterErrorCodeMap("logservice", pb.LogServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("blobstore", pb.BlobstoreServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("datastore_v3", pb.Error_ErrorCode_name) appengine_internal.NamespaceMods["datastore_v3"] = namespaceMod }
func init() { if appengine.IsDevAppServer() { service = "channel" // dev } appengine_internal.RegisterErrorCodeMap(service, channel_proto.ChannelServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("xmpp", pb.XmppServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("urlfetch", pb.URLFetchServiceError_ErrorCode_name) appengine_internal.RegisterTimeoutErrorCode("urlfetch", int32(pb.URLFetchServiceError_DEADLINE_EXCEEDED)) }
func init() { appengine_internal.RegisterErrorCodeMap("mail", mail_proto.MailServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("images", pb.ImagesServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("user", pb.UserServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("conversion", conversion_proto.ConversionServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("search", pb.SearchServiceError_ErrorCode_name) appengine_internal.NamespaceMods["search"] = namespaceMod }
func init() { appengine_internal.RegisterErrorCodeMap("system", system_proto.SystemServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("taskqueue", taskqueue_proto.TaskQueueServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("memcache", pb.MemcacheServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("remote_socket", pb.RemoteSocketServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("datastore_v3", pb.Error_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("blobstore", blobpb.BlobstoreServiceError_ErrorCode_name) appengine_internal.RegisterErrorCodeMap("file", filepb.FileServiceErrors_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("urlfetch", pb.URLFetchServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("memcache", pb.MemcacheServiceError_ErrorCode_name) appengine_internal.NamespaceMods["memcache"] = namespaceMod }
func init() { appengine_internal.RegisterErrorCodeMap("app_identity_service", pb.AppIdentityServiceError_ErrorCode_name) appengine_internal.RegisterErrorCodeMap("modules", modpb.ModulesServiceError_ErrorCode_name) }
func init() { appengine_internal.RegisterErrorCodeMap("channel", channel_proto.ChannelServiceError_ErrorCode_name) }