Exception: OsCtld::DeviceDescendantRequiresMode
- Inherits:
-
StandardError
- Object
- StandardError
- OsCtld::DeviceDescendantRequiresMode
- Defined in:
- lib/osctld/exceptions.rb
Instance Method Summary collapse
-
#initialize(entity, mode) ⇒ DeviceDescendantRequiresMode
constructor
A new instance of DeviceDescendantRequiresMode.
Constructor Details
#initialize(entity, mode) ⇒ DeviceDescendantRequiresMode
Returns a new instance of DeviceDescendantRequiresMode.
45 46 47 |
# File 'lib/osctld/exceptions.rb', line 45 def initialize(entity, mode) super("#{entity.ident} requires broader device access mode '#{mode}'") end |