Exception: Koltira::Operation::Error
- Defined in:
- lib/koltira/operation.rb
Overview
generic operation error exception class
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message, data = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, data = {}) ⇒ Error
Returns a new instance of Error.
31 32 33 34 |
# File 'lib/koltira/operation.rb', line 31 def initialize(, data = {}) @data = data super() end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
29 30 31 |
# File 'lib/koltira/operation.rb', line 29 def data @data end |