src/DeadmanException.php
source
| 1 | <?php |
| 2 | |
| 3 | namespace phasync; |
| 4 | |
| 5 | use phasync\Internal\RethrowExceptionTrait; |
| 6 | |
| 7 | /** |
| 8 | * Exception thrown when attempting to use a resource after its |
| 9 | * DeadmanSwitch has been triggered (e.g., writer terminated unexpectedly). |
| 10 | */ |
| 11 | class DeadmanException extends \RuntimeException implements RethrowExceptionInterface |
| 12 | { |
| 13 | use RethrowExceptionTrait; |
| 14 | } |
| 15 |