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



21
22
23
# File 'lib/osctld/exceptions.rb', line 21

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