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

DetectsConcurrencyErrors

Methods

protected

causedByConcurrencyError ( Throwable $e ) : bool

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

Parameters