Beanstalkd -> Pheanstalk
This commit is contained in:
15
cli/src/Exception/MQTT/Create.php
Normal file
15
cli/src/Exception/MQTT/Create.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace Incoviba\Exception\MQTT;
|
||||
|
||||
use Throwable;
|
||||
use Incoviba\Exception\MQTT;
|
||||
|
||||
class Create extends MQTT
|
||||
{
|
||||
public function __construct(string $tube = '', string $payload = '', ?Throwable $previous = null)
|
||||
{
|
||||
$message = "Unable to create MQTT message: {$payload} in tube {$tube}";
|
||||
$code = 11;
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user