Sha256: 0ec8fb90f31bc5b8cd8a91ee6cca7b4ce61a07177f59127ee38fc4bd2d879160

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true
module Faml
  class Error < StandardError
    attr_accessor :lineno

    def initialize(message, lineno)
      super(message)
      @lineno = lineno
    end
  end

  class UnparsableRubyCode < Error
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 lib/faml/error.rb
faml-0.8.0 lib/faml/error.rb