Browse Source
Merge pull request #50 from majsterkoo/master
Merge pull request #50 from majsterkoo/master
Additional exceptions addedtags/1.3.3 1.3.3
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 16 deletions
-
9src/Client.php
-
16src/Config.php
-
13src/Exceptions/BadCredentialsException.php
-
13src/Exceptions/ConnectException.php
-
1src/Exceptions/StreamException.php
-
5src/SocketTrait.php
-
8tests/ClientTest.php
@ -0,0 +1,13 @@ |
|||
<?php |
|||
|
|||
namespace RouterOS\Exceptions; |
|||
|
|||
/** |
|||
* Class BadCredentialsException thrown when a password or login is wrong. |
|||
* |
|||
* @package RouterOS\Exceptions |
|||
* @since 1.3.3 |
|||
*/ |
|||
class BadCredentialsException extends ClientException |
|||
{ |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
<?php |
|||
|
|||
namespace RouterOS\Exceptions; |
|||
|
|||
/** |
|||
* Class ConnectException thrown when a connection cannot be established. |
|||
* |
|||
* @package RouterOS\Exceptions |
|||
* @since 1.3.3 |
|||
*/ |
|||
class ConnectException extends ClientException |
|||
{ |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue