Explode Response to Frames

This commit is contained in:
2021-01-30 17:14:19 +03:00
parent fc6b67cc92
commit f74b82a400
24 changed files with 367 additions and 148 deletions

View File

@@ -4,8 +4,12 @@ declare(strict_types=1);
namespace Nsq\Exception;
use RuntimeException;
use Nsq\Protocol\Error;
final class NsqError extends RuntimeException implements NsqException
final class NsqError extends NsqException
{
public function __construct(Error $error)
{
parent::__construct($error->rawData);
}
}