Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

Connection::CONNECTION_FAILURE

Error code for "Connection failure" errors.

Technically this is an internal error code that will only be shown in the PDOException message. It will need to get extracted.

File

core/modules/pgsql/src/Driver/Database/pgsql/Connection.php, line 43

Class

Connection
PostgreSQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\pgsql\Driver\Database\pgsql

Code

const CONNECTION_FAILURE = '08006';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal