Sha256: 6c680f6ef41ad2549cf0f9f6c0b3fb9e175bb7a112e24bcbd64248cd76833e36

Contents?: true

Size: 341 Bytes

Versions: 9

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module PuppetfileResolver
  module Puppetfile
    module Parser
      class ParserError < RuntimeError
        attr_accessor :location

        def initialize(error_message)
          @error_message = error_message
        end

        def to_s
          @error_message
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
puppetfile-resolver-0.6.3 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.6.2 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.6.1 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.6.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.5.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.4.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.3.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.2.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb
puppetfile-resolver-0.1.0 lib/puppetfile-resolver/puppetfile/parser/errors.rb