protected function statusCodeHandling($e)
    {
        $response =(object)array(
            "Status" => $e->getResponse()->getStatusCode(),
            "Error" => json_decode($e->getResponse()->getBody(true)->getContents())
        );
        return $response;
    }