Exception: Libvirt::Exception::UnparseableSpec
- Inherits:
-
StandardError
- Object
- StandardError
- Libvirt::Exception::UnparseableSpec
- Defined in:
- lib/libvirt/exception.rb
Overview
Represents an exception in parsing an XML spec into a Ruby Spec object.
Instance Method Summary collapse
-
#initialize(tags) ⇒ UnparseableSpec
constructor
A new instance of UnparseableSpec.
Constructor Details
#initialize(tags) ⇒ UnparseableSpec
Returns a new instance of UnparseableSpec.
22 23 24 25 |
# File 'lib/libvirt/exception.rb', line 22 def initialize() = .map { |tag| tag.name } super("Unsupported tags found. This is either a bug or the XML string given is invalid. Tags: #{}") end |