Exception: Xampl::UnexpectedExitFromTransaction

Inherits:
Exception
  • Object
show all
Defined in:
lib/xamplr/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#xamplObject (readonly)

Returns the value of attribute xampl.



119
120
121
# File 'lib/xamplr/exceptions.rb', line 119

def xampl
  @xampl
end

Instance Method Details

#messageObject



125
126
127
# File 'lib/xamplr/exceptions.rb', line 125

def message
  "unexpected exit from a transaction: ROLLBACK"
end