Exception: OsCtld::DeviceInheritNeeded

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

Instance Method Summary collapse

Constructor Details

#initialize(entity) ⇒ DeviceInheritNeeded

Returns a new instance of DeviceInheritNeeded.

Parameters:



54
55
56
# File 'lib/osctld/exceptions.rb', line 54

def initialize(entity)
  super("#{entity.ident} would lose access to the device")
end