File: parse_error.rb

package info (click to toggle)
ruby-gitlab-pg-query 2.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,584 kB
  • sloc: ansic: 143,939; ruby: 2,096; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
module PgQuery
  class ParseError < ArgumentError
    attr_reader :location
    def initialize(message, source_file, source_line, location)
      super("#{message} (#{source_file}:#{source_line})")
      @location = location
    end
  end
end