Exception: OsCtld::DeviceNotAvailable

Inherits:
StandardError
  • Object
show all
Defined in:
lib/osctld/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(dev, grp) ⇒ DeviceNotAvailable

Returns a new instance of DeviceNotAvailable.



31
32
33
# File 'lib/osctld/exceptions.rb', line 31

def initialize(dev, grp)
  super("device '#{dev}' not available in group '#{grp.ident}'")
end