laravel / 5.2.31 / api / 5.2 / illuminate / database / detectslostconnections.html /

DetectsLostConnections

trait DetectsLostConnections (View source)

Methods

bool causedByLostConnection(Exception $e)

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

Details

protected bool causedByLostConnection(Exception $e)

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

Parameters

Exception $e

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Database/DetectsLostConnections.html