Sha256: 248a0966f0c3d7c2206ed89cad805133b0bf7e77b24ee3aef7eb1b4627efbb92

Contents?: true

Size: 353 Bytes

Versions: 6

Compression:

Stored size: 353 Bytes

Contents

module NdrImport
  module Xml
    # Raised if an unmapped xpath is identified
    class UnmappedXpathError < StandardError
      attr_reader :missing_xpaths

      def initialize(missing_xpaths)
        @missing_xpaths = missing_xpaths
        message         = "Unmapped xpath(s): #{missing_xpaths}"

        super(message)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ndr_import-11.2.1 lib/ndr_import/xml/unmapped_xpath_error.rb
ndr_import-11.2.0 lib/ndr_import/xml/unmapped_xpath_error.rb
ndr_import-11.1.0 lib/ndr_import/xml/unmapped_xpath_error.rb
ndr_import-11.0.2 lib/ndr_import/xml/unmapped_xpath_error.rb
ndr_import-11.0.1 lib/ndr_import/xml/unmapped_xpath_error.rb
ndr_import-11.0.0 lib/ndr_import/xml/unmapped_xpath_error.rb