Sha256: 2d7f40a9e5d1aa93ad16db4fa1ee5dff09ef426a518d95bcafbad80c3a7c41ab

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

require_relative "../base"

module Exceptions
  module ActiveRecord
    module StatementInvalid
      class UndefinedTable < Base
        private

        def exception_regexp
          /PG::UndefinedTable: ERROR:  missing FROM-clause entry for table "(.*?)"\nLINE/
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pry-byetypo-1.3.5 lib/pry-byetypo/exceptions/active_record/statement_invalid/undefined_table.rb
pry-byetypo-1.3.4 lib/pry-byetypo/exceptions/active_record/statement_invalid/undefined_table.rb
pry-byetypo-1.3.3 lib/pry-byetypo/exceptions/active_record/statement_invalid/undefined_table.rb