Exception: Daemons::SystemError

Inherits:
Error show all
Defined in:
lib/daemons/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, system_error) ⇒ SystemError

Returns a new instance of SystemError.


18
19
20
21
22
# File 'lib/daemons/exceptions.rb', line 18

def initialize(msg, system_error)
  super(msg)

  @system_error = system_error
end

Instance Attribute Details

#system_errorObject (readonly)

Returns the value of attribute system_error


16
17
18
# File 'lib/daemons/exceptions.rb', line 16

def system_error
  @system_error
end