Свойство | Type | Description | |
---|---|---|---|
$_error | Error array |
Méthode | Description | |
---|---|---|
__construct ( integer $code, array $error ) | Constructs elasticsearch exception. | |
getError ( ) : array | ||
getExceptionName ( ) : string | null | Returns elasticsearch exception name. | |
isRemoteTransportException ( ) : boolean | Returns whether exception was local to server node or remote. |
Méthode | Description | |
---|---|---|
_extractException ( string $error ) : null | string | Extract exception name from error response. | |
_parseError ( string $error ) | Parse error message from elasticsearch. |
public __construct ( integer $code, array $error ) | ||
$code | integer | Error code |
$error | array | Error object from elasticsearch |
protected _parseError ( string $error ) | ||
$error | string | Error message |
public getExceptionName ( ) : string | null | ||
Résultat | string | null |
public isRemoteTransportException ( ) : boolean | ||
Résultat | boolean |