ClientException
Less than 1 minute
ClientException
Exception thrown for RPC client errors.
class ClientException extends \Hazaar\RPC\Exception\ExceptionRepresents errors that occur during RPC client operations, such as communication failures or invalid responses.
Methods
__construct
Constructs a new ClientException.
public __construct(string $message, int $code = 500): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | the error message describing the client exception |
$code | int | the error code (default: 500) |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000