Exception: OsCtld::DeviceDescendantRequiresMode

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

Instance Method Summary collapse

Constructor Details

#initialize(entity, mode) ⇒ DeviceDescendantRequiresMode

Returns a new instance of DeviceDescendantRequiresMode.

Parameters:



45
46
47
# File 'lib/osctld/exceptions.rb', line 45

def initialize(entity, mode)
  super("#{entity.ident} requires broader device access mode '#{mode}'")
end