Browse Source

Description of new exceptions fixed

pull/50/head
Paul Rock 5 years ago
parent
commit
eccf794c2f
  1. 6
      src/Exceptions/BadCredentialsException.php
  2. 5
      src/Exceptions/ConnectException.php
  3. 1
      src/Exceptions/StreamException.php

6
src/Exceptions/BadCredentialsException.php

@ -3,10 +3,10 @@
namespace RouterOS\Exceptions;
/**
* Class ClientException
* Exception thrown when a password or login is wrong.
* Class BadCredentialsException thrown when a password or login is wrong.
*
* @package RouterOS\Exceptions
* @since 0.4
* @since 1.3.3
*/
class BadCredentialsException extends ClientException
{

5
src/Exceptions/ConnectException.php

@ -3,9 +3,10 @@
namespace RouterOS\Exceptions;
/**
* Class ClientException
* Exception thrown when a connection cannot be established.
* Class ConnectException thrown when a connection cannot be established.
*
* @package RouterOS\Exceptions
* @since 1.3.3
*/
class ConnectException extends ClientException
{

1
src/Exceptions/StreamException.php

@ -8,7 +8,6 @@ namespace RouterOS\Exceptions;
* @package RouterOS\Exceptions
* @since 0.9
*/
class StreamException extends \Exception
{
}
Loading…
Cancel
Save