Exception: Gcloud::Datastore::TransactionError

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

Overview

General error for Transaction problems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, inner = nil) ⇒ TransactionError

Returns a new instance of TransactionError.



59
60
61
62
# File 'lib/gcloud/datastore/errors.rb', line 59

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

Instance Attribute Details

#innerObject (readonly)

An error that occurred within the transaction. (optional)



57
58
59
# File 'lib/gcloud/datastore/errors.rb', line 57

def inner
  @inner
end