Elastica\Exception\ElasticsearchException::getExceptionName PHP Method

getExceptionName() public method

Returns elasticsearch exception name.
public getExceptionName ( ) : string | null
return string | null
    public function getExceptionName()
    {
        return $this->_exception;
    }