Exception: Xampl::UnexpectedExitFromTransaction
- Inherits:
-
Exception
- Object
- Exception
- Xampl::UnexpectedExitFromTransaction
- Defined in:
- lib/xamplr/exceptions.rb
Instance Attribute Summary collapse
-
#xampl ⇒ Object
readonly
Returns the value of attribute xampl.
Instance Method Summary collapse
-
#initialize(xampl = nil) ⇒ UnexpectedExitFromTransaction
constructor
A new instance of UnexpectedExitFromTransaction.
- #message ⇒ Object
Constructor Details
#initialize(xampl = nil) ⇒ UnexpectedExitFromTransaction
Returns a new instance of UnexpectedExitFromTransaction.
121 122 123 |
# File 'lib/xamplr/exceptions.rb', line 121 def initialize(xampl=nil) @xampl = xampl end |
Instance Attribute Details
#xampl ⇒ Object (readonly)
Returns the value of attribute xampl.
119 120 121 |
# File 'lib/xamplr/exceptions.rb', line 119 def xampl @xampl end |
Instance Method Details
#message ⇒ Object
125 126 127 |
# File 'lib/xamplr/exceptions.rb', line 125 def "unexpected exit from a transaction: ROLLBACK" end |