Skip to content

Commit 458a2e7

Browse files
author
Andrew Carter
committed
Added userland daemon exception for exceptions specific to the userland daemon
1 parent 1114c3c commit 458a2e7

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

src/Driver/Userland/Exception/ConnectionException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
namespace PHPFastCGI\FastCGIDaemon\Driver\Userland\Exception;
44

5-
use PHPFastCGI\FastCGIDaemon\Exception\DaemonException;
6-
75
/**
86
* Connection exceptions.
97
*/
10-
class ConnectionException extends DaemonException
8+
class ConnectionException extends UserlandDaemonException
119
{
1210
}

src/Driver/Userland/Exception/ProtocolException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
namespace PHPFastCGI\FastCGIDaemon\Driver\Userland\Exception;
44

5-
use PHPFastCGI\FastCGIDaemon\Exception\DaemonException;
6-
75
/**
86
* Protocol exceptions.
97
*/
10-
class ProtocolException extends DaemonException
8+
class ProtocolException extends UserlandDaemonException
119
{
1210
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace PHPFastCGI\FastCGIDaemon\Driver\Userland\Exception;
4+
5+
use PHPFastCGI\FastCGIDaemon\Exception\DaemonException;
6+
7+
/**
8+
* Exceptions specific to the userland daemon.
9+
*/
10+
class UserlandDaemonException extends DaemonException
11+
{
12+
}

0 commit comments

Comments
 (0)