__construct() __construct(integer $code, string $error) Constructs elasticsearch exception. Parameters integer $code Error code string $error Error message from elasticsearch
getExceptionName() getExceptionName() : string|null Returns elasticsearch exception name. Returns string|null
isRemoteTransportException() isRemoteTransportException() : boolean Returns whether exception was local to server node or remote. Returns boolean
_parseError() _parseError(string $error) Parse error message from elasticsearch. Parameters string $error Error message
_extractException() _extractException(string $error) : null|string Extract exception name from error response. Parameters string $error Returns null|string