Class: ReconnectFailed
Full name: Azera\Db\Event\ReconnectFailed
Dispatched when a reconnection attempt fails.
Public Properties
public readonlyThrowable$exception·public readonlyint$attempt·public readonlyDatabase$database·
Public methods
__construct() ·
public function __construct(Azera\Db\Database $database, Throwable $exception, int $attempt): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$database |
Database | - | |
$exception |
Throwable | - | |
$attempt |
int | - |
Return value
- Type:
mixed