Sha256: a1f92c01515f1d0552db15a62753689099100026ab3f99dbdf9646e199393e10

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

module Ting

  # All exceptions arising from this module inherit from Ting::Error

  class Error < StandardError ; end

  class ParseError < Error
    attr_reader :input, :position

    def initialize(input, position)
      @input=input
      @position=position
    end
  end

end
  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ting-0.3.0 lib/ting/exception.rb
ting-0.2.1 lib/ting/exception.rb
ting-0.2.0 lib/ting/exception.rb