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 Tue, 21 Apr 2026 04:00:25 +0000