Exception: Gcloud::Datastore::TransactionError

Inherits:
Error
  • Object
show all
Defined in:
lib/gcloud/datastore/errors.rb

Overview

TransactionError

General error for Transaction problems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, inner = nil) ⇒ TransactionError

:nodoc:



70
71
72
73
# File 'lib/gcloud/datastore/errors.rb', line 70

def initialize message, inner = nil #:nodoc:
  super(message)
  @inner = inner
end

Instance Attribute Details

#innerObject (readonly)

An error that occurred within the transaction. (optional)



68
69
70
# File 'lib/gcloud/datastore/errors.rb', line 68

def inner
  @inner
end