Exception: Gcloud::Datastore::TransactionError
- Defined in:
- lib/gcloud/datastore/errors.rb
Overview
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
A new instance of TransactionError.
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 , inner = nil super() @inner = inner end |
Instance Attribute Details
#inner ⇒ Object (readonly)
An error that occurred within the transaction. (optional)
57 58 59 |
# File 'lib/gcloud/datastore/errors.rb', line 57 def inner @inner end |