CMS 2.0
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PhpMqtt\Client\Exceptions;
|
||||
|
||||
/**
|
||||
* Exception to be thrown if a pending message with the same packet identifier is still pending.
|
||||
*
|
||||
* @package PhpMqtt\Client\Exceptions
|
||||
*/
|
||||
class PendingMessageAlreadyExistsException extends RepositoryException
|
||||
{
|
||||
/**
|
||||
* PendingMessageAlreadyExistsException constructor.
|
||||
*/
|
||||
public function __construct(int $messageId)
|
||||
{
|
||||
parent::__construct(sprintf('A pending message with the message identifier [%s] exists already.', $messageId));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user