5 changed files with 39 additions and 6 deletions
-
8src/Client.php
-
13src/Exceptions/BadCredentialsException.php
-
12src/Exceptions/ConnectException.php
-
4src/SocketTrait.php
-
8tests/ClientTest.php
@ -0,0 +1,13 @@ |
|||
<?php |
|||
|
|||
namespace RouterOS\Exceptions; |
|||
|
|||
/** |
|||
* Class ClientException |
|||
* Exception thrown when a password or login is wrong. |
|||
* @package RouterOS\Exceptions |
|||
* @since 0.4 |
|||
*/ |
|||
class BadCredentialsException extends ClientException |
|||
{ |
|||
} |
|||
@ -0,0 +1,12 @@ |
|||
<?php |
|||
|
|||
namespace RouterOS\Exceptions; |
|||
|
|||
/** |
|||
* Class ClientException |
|||
* Exception thrown when a connection cannot be established. |
|||
* @package RouterOS\Exceptions |
|||
*/ |
|||
class ConnectException extends ClientException |
|||
{ |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue