HostNotFound
Less than 1 minute
HostNotFound
Exception thrown when a specified host cannot be found during an HTTP request.
class HostNotFound extends \Hazaar\HTTP\Exception\ExceptionUsed 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 Tue, 21 Apr 2026 04:00:25 +0000