protected function formatMessage(Neo4jException $exception)
    {
        $data = $exception->getData();
        $exceptionName = isset($data['exception']) ? $data['exception'] .': ' : '';
        $message = isset($data['message']) ? $data['message'] : $exception->getMessage();
        return $exceptionName.$message;
    }
protected function formatMessage(Neo4jException $exception)
    {
        $data = $exception->getData();
        $exceptionName = isset($data['exception']) ? $data['exception'] .': ' : '';
        $message = isset($data['message']) ? $data['message'] : $exception->getMessage();
        return $exceptionName.$message;
    }
protected function formatMessage ( Neo4jException $ exception ) { $ data = $ exception -> getData ( ) ; $ exceptionName = isset ( $ data [ 'exception' ] ) ? $ data [ 'exception' ] . ': ' : '' ; $ message = isset ( $ data [ 'message' ] ) ? $ data [ 'message' ] : $ exception -> getMessage ( ) ; return $ exceptionName . $ message ; }
Format the message that should be printed out for devs.

@param  \Everyman\Neo4j\Exception $exception
@return string
Format the message that should be printed out for devs .