Exception: Gcloud::Datastore::TransactionError
- Defined in:
- lib/gcloud/datastore/errors.rb
Overview
TransactionError
General error for Transaction problems.
Instance Attribute Summary collapse
-
#inner ⇒ Object
readonly
An error that occurred within the transaction.
Instance Method Summary collapse
-
#initialize(message, inner = nil) ⇒ TransactionError
constructor
:nodoc:.
Constructor Details
#initialize(message, inner = nil) ⇒ TransactionError
:nodoc:
70 71 72 73 |
# File 'lib/gcloud/datastore/errors.rb', line 70 def initialize , inner = nil #:nodoc: super() @inner = inner end |
Instance Attribute Details
#inner ⇒ Object (readonly)
An error that occurred within the transaction. (optional)
68 69 70 |
# File 'lib/gcloud/datastore/errors.rb', line 68 def inner @inner end |