Méthode | Description | |
---|---|---|
__construct ( Predis\Connection\NodeConnectionInterface $connection, string $message = null, integer $code = null, Exception $innerException = null ) | ||
getConnection ( ) : Predis\Connection\NodeConnectionInterface | Gets the connection that generated the exception. | |
handle ( |
Helper method to handle exceptions generated by a connection object. | |
shouldResetConnection ( ) : boolean | Indicates if the receiver should reset the underlying connection. |
public __construct ( Predis\Connection\NodeConnectionInterface $connection, string $message = null, integer $code = null, Exception $innerException = null ) | ||
$connection | Predis\Connection\NodeConnectionInterface | Connection that generated the exception. |
$message | string | Error message. |
$code | integer | Error code. |
$innerException | Exception | Inner exception for wrapping the original error. |
public getConnection ( ) : Predis\Connection\NodeConnectionInterface | ||
Résultat | Predis\Connection\NodeConnectionInterface |
public static handle ( |
||
$exception | Exception. |
public shouldResetConnection ( ) : boolean | ||
Résultat | boolean |