trait Illuminate / Database / DetectsLostConnections
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

DetectsLostConnections

Methods

protected

causedByLostConnection ( Throwable $e ) : bool

Determine if the given exception was caused by a lost connection.

Parameters