From 0d5db685d1c8162f4e16a60d5626b73767095453 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 24 Jun 2024 23:16:35 +0300 Subject: [PATCH] add exception message --- src/Client/Request.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Client/Request.php b/src/Client/Request.php index ac12a72..560a1fd 100644 --- a/src/Client/Request.php +++ b/src/Client/Request.php @@ -33,7 +33,9 @@ class Request else { - throw new \Exception(); // @TODO + throw new \Exception( + _('Host required') + ); } if ($port = parse_url($url, PHP_URL_PORT))