Sha256: 0f9eb5fdccf000766dd0b320be20aa903079569778cf37b954df30ef3025964c

Contents?: true

Size: 194 Bytes

Versions: 6

Compression:

Stored size: 194 Bytes

Contents

module Faml
  class SyntaxError < StandardError
    attr_reader :lineno

    def initialize(message, lineno)
      super("#{message} at line #{lineno}")
      @lineno = lineno
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
faml-0.2.5 lib/faml/syntax_error.rb
faml-0.2.4 lib/faml/syntax_error.rb
faml-0.2.3 lib/faml/syntax_error.rb
faml-0.2.2 lib/faml/syntax_error.rb
faml-0.2.1 lib/faml/syntax_error.rb
faml-0.2.0 lib/faml/syntax_error.rb