Exception: BlueGreenProcess::ErrorWrapper
- Inherits:
-
StandardError
- Object
- StandardError
- BlueGreenProcess::ErrorWrapper
- Defined in:
- lib/blue_green_process/master_process.rb
Instance Attribute Summary collapse
-
#error_class ⇒ Object
Returns the value of attribute error_class.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(error_class, error_message) ⇒ ErrorWrapper
constructor
A new instance of ErrorWrapper.
Constructor Details
#initialize(error_class, error_message) ⇒ ErrorWrapper
Returns a new instance of ErrorWrapper.
8 9 10 11 |
# File 'lib/blue_green_process/master_process.rb', line 8 def initialize(error_class, ) self.error_class = error_class self. = end |
Instance Attribute Details
#error_class ⇒ Object
Returns the value of attribute error_class.
6 7 8 |
# File 'lib/blue_green_process/master_process.rb', line 6 def error_class @error_class end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/blue_green_process/master_process.rb', line 6 def @message end |