Exception: NucleusCore::Operation::Context::Error
- Inherits:
-
StandardError
- Object
- StandardError
- NucleusCore::Operation::Context::Error
- Defined in:
- lib/nucleus_core/operation.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(message, opts = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, opts = {}) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 |
# File 'lib/nucleus_core/operation.rb', line 9 def initialize(, opts={}) @exception = opts[:exception] super() end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
7 8 9 |
# File 'lib/nucleus_core/operation.rb', line 7 def exception @exception end |