Sha256: 2c7b2afb4c2963fbefbf62ae465865a719bec50ca85fc868a67ce25d71bcc300

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

module SimpleLogic
  class ParseError < StandardError
    attr_reader :offset
    def initialize(offset)
      @offset = offset
    end
  end

  class UndefinedVariableError < StandardError
    attr_reader :offset, :name
    def initialize(offset, name)
      @offset = offset
      @name = name
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_logic-0.0.2 lib/simple_logic/errors.rb