Sha256: 1ddc2fd3a081743abdcedb06d5bf570f7cd9327a39ba4f7486581797f178b1c5

Contents?: true

Size: 288 Bytes

Versions: 7

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

require_relative "base"

module Exceptions
  module ActiveRecord
    class StatementInvalid < Base
      private

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pry-byetypo-1.3.2 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.3.1 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.3.0 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.2.0 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.1.0 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.0.2 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb
pry-byetypo-1.0.0 lib/pry-byetypo/exceptions/active_record/statement_invalid.rb