DetectsConcurrencyErrors

trait DetectsConcurrencyErrors (View source)

Methods

bool causedByConcurrencyError(Exception $e)

Determine if the given exception was caused by a concurrency error such as a deadlock or serialization failure.

Details

protected bool causedByConcurrencyError(Exception $e)

Determine if the given exception was caused by a concurrency error such as a deadlock or serialization failure.

Parameters

Exception $e

Return Value

bool

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