Sha256: a190cabd54b99767881123ed56037709ae02a693950abff7eb2dd72a37ab523b

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

module TireSwing
  class ParseError < StandardError
    attr_reader :parser
    def initialize(message, parser=nil)
      @parser = parser
      super(message)
    end
    # TODO add in pretty error formatting, given the parser and the message
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aniero-tire_swing-0.0.6 lib/tire_swing/error.rb