Property | Type | Description | |
---|---|---|---|
$_error | Error array |
Method | 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. |
Method | 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 | ||
return | string | null |
public isRemoteTransportException ( ) : boolean | ||
return | boolean |