ProtocolPortUnknown
Less than 1 minute
ProtocolPortUnknown
Exception thrown when the port for a specified protocol cannot be determined.
class ProtocolPortUnknown extends \Hazaar\HTTP\Exception\ExceptionUsed to indicate that the protocol provided does not have a known default port, prompting the user to verify or specify a port.
Methods
__construct
Constructs a ProtocolPortUnknown exception with a descriptive error message.
public __construct(string $proto): voidThis exception is thrown when the port for the given protocol cannot be found, suggesting the user check the protocol or specify a port.
Parameters
| Parameter | Type | Description |
|---|---|---|
$proto | string | the protocol for which the port is unknown |
Generated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000