Sha256: e5005301dcdb667b6b62d29f4f8325559c1a4c95a7e8f30566a4e0ac36c01449

Contents?: true

Size: 276 Bytes

Versions: 18

Compression:

Stored size: 276 Bytes

Contents

module Hamlit
  class Error < StandardError
    attr_reader :line

    def initialize(message = nil, line = nil)
      super(message)
      @line = line
    end
  end

  class SyntaxError < Error; end
  class InternalError < Error; end
  class FilterNotFound < Error; end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hamlit-2.2.4 lib/hamlit/error.rb
hamlit-2.6.1 lib/hamlit/error.rb
hamlit-2.6.0 lib/hamlit/error.rb
hamlit-2.5.0 lib/hamlit/error.rb
hamlit-2.4.2 lib/hamlit/error.rb
hamlit-2.4.1 lib/hamlit/error.rb
hamlit-2.4.0 lib/hamlit/error.rb
hamlit-2.3.1 lib/hamlit/error.rb
hamlit-2.3.0 lib/hamlit/error.rb
hamlit-2.2.3 lib/hamlit/error.rb
hamlit-2.2.2 lib/hamlit/error.rb
hamlit-2.2.1 lib/hamlit/error.rb
hamlit-2.2.0 lib/hamlit/error.rb
hamlit-2.1.2 lib/hamlit/error.rb
hamlit-2.1.1 lib/hamlit/error.rb
hamlit-2.1.0 lib/hamlit/error.rb
hamlit-2.0.2 lib/hamlit/error.rb
hamlit-2.0.1 lib/hamlit/error.rb