Exception: SBSM::ProcessingError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SBSM::ProcessingError
- Defined in:
- lib/sbsm/state.rb,
lib/sbsm/exception.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(message, key, value) ⇒ ProcessingError
constructor
A new instance of ProcessingError.
Constructor Details
#initialize(message, key, value) ⇒ ProcessingError
Returns a new instance of ProcessingError.
32 33 34 35 36 |
# File 'lib/sbsm/state.rb', line 32 def initialize(, key, value) super() @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
31 32 33 |
# File 'lib/sbsm/state.rb', line 31 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
31 32 33 |
# File 'lib/sbsm/state.rb', line 31 def value @value end |