exceptions fixed
This commit is contained in:
parent
36cce72b66
commit
5c9c7195be
|
@ -13,16 +13,13 @@ namespace Clivern\Imap\Core\Exception;
|
|||
class AuthenticationFailedException extends \Exception
|
||||
{
|
||||
|
||||
/**
|
||||
* Class Constructor
|
||||
*
|
||||
* @param string $error
|
||||
*/
|
||||
public function __construct($error = null)
|
||||
{
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
"Authentication failed with error: %s",
|
||||
$server,
|
||||
$port,
|
||||
$email,
|
||||
$error
|
||||
)
|
||||
);
|
||||
parent::__construct(sprintf("Authentication failed with error: %s", $error));
|
||||
}
|
||||
}
|
|
@ -12,6 +12,7 @@ namespace Clivern\Imap\Core\Exception;
|
|||
*/
|
||||
class MessageDoesNotExistException extends \Exception
|
||||
{
|
||||
|
||||
/**
|
||||
* Class Constructor
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue