instance method connection_terminating_severity?

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

connection_terminating_severity?(result)

No documentation comment.

Parameters

result req
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 858
        def connection_terminating_severity?(result)
          severity = result&.error_field(PG::PG_DIAG_SEVERITY_NONLOCALIZED)
          severity == "FATAL" || severity == "PANIC"
        end

Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 858 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close