private function getResponse($method, $path, $parameters)
    {
        try {
            $response = $this->adapter->request($method, $path, $parameters);
            return $this->getResult($response);
        }
        catch (\Exception $e) {
            return $e->getMessage();
        }
    }
private function getResponse($method, $path, $parameters)
    {
        try {
            $response = $this->adapter->request($method, $path, $parameters);
            return $this->getResult($response);
        }
        catch (\Exception $e) {
            return $e->getMessage();
        }
    }
private function getResponse ( $ method , $ path , $ parameters ) { try { $ response = $ this -> adapter -> request ( $ method , $ path , $ parameters ) ; return $ this -> getResult ( $ response ) ; } catch ( \ Exception $ e ) { return $ e -> getMessage ( ) ; } }
Get an API request response and handle possible exceptions.

@param string $method
@param string $path
@param array $parameters

@return array|mixed|string
Get an API request response and handle possible exceptions .