Exception: Daemons::SystemError
- Defined in:
- lib/daemons/exceptions.rb
Instance Attribute Summary collapse
-
#system_error ⇒ Object
readonly
Returns the value of attribute system_error.
Instance Method Summary collapse
-
#initialize(msg, system_error) ⇒ SystemError
constructor
A new instance of SystemError.
Constructor Details
#initialize(msg, system_error) ⇒ SystemError
Returns a new instance of SystemError.
17 18 19 20 21 |
# File 'lib/daemons/exceptions.rb', line 17 def initialize(msg, system_error) super(msg) @system_error = system_error end |
Instance Attribute Details
#system_error ⇒ Object (readonly)
Returns the value of attribute system_error.
15 16 17 |
# File 'lib/daemons/exceptions.rb', line 15 def system_error @system_error end |