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