HostNotFound
Less than 1 minute
HostNotFound
Exception thrown when a specified host cannot be found during an HTTP request.
class HostNotFound extends \Hazaar\ExceptionExtends: Hazaar\Exception
Used to indicate that the requested host address is invalid or unreachable, prompting the user to verify the address.
Methods
__construct
Constructs a HostNotFound exception with a descriptive error message.
public __construct(string $host): voidThis exception is thrown when the specified host cannot be resolved or reached during an HTTP operation.
Parameters
| Parameter | Type | Description |
|---|---|---|
$host | string | the host address that could not be found |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:18 +0000