16 lines
333 B
PHP
16 lines
333 B
PHP
<?php
|
|
namespace Incoviba\Exception\MQTT;
|
|
|
|
use Throwable;
|
|
use Incoviba\Exception\MQTT;
|
|
|
|
class Read extends MQTT
|
|
{
|
|
public function __construct(string $tube, ?Throwable $previous = null)
|
|
{
|
|
$message = "Error reading from tube {$tube}";
|
|
$code = 10;
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|