Skip to content

Commit 2dd19e3

Browse files
Added shutdown exception to allow the daemon to be able to distinguish between clean shutdowns and faults.
1 parent f43b216 commit 2dd19e3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace PHPFastCGI\FastCGIDaemon\Exception;
4+
5+
/**
6+
* Thrown when AFTER the daemon has been shutdown cleanly. This is used to
7+
* cleanly distinguish between other faults that could occur during operation.
8+
*/
9+
class ShutdownException extends \RuntimeException
10+
{
11+
}

0 commit comments

Comments
 (0)