Exception: Libvirt::Exceptions::InvalidFunction
- Inherits:
-
StandardError
- Object
- StandardError
- Libvirt::Exceptions::InvalidFunction
- Defined in:
- lib/libvirt-ruby/exceptions/invalid_function.rb
Instance Method Summary collapse
-
#initialize(function) ⇒ InvalidFunction
constructor
A new instance of InvalidFunction.
Constructor Details
#initialize(function) ⇒ InvalidFunction
Returns a new instance of InvalidFunction.
4 5 6 |
# File 'lib/libvirt-ruby/exceptions/invalid_function.rb', line 4 def initialize(function) super("The function '#{function}' could not be found. Is it correct?") end |