src/Sms.php
protected function statusCodeHandling($e)
    {
        $response =(object)array(
            "Status" => $e->getResponse()->getStatusCode(),
            "Error" => json_decode($e->getResponse()->getBody(true)->getContents())
        );
        return $response;
    }
protected function statusCodeHandling($e)
    {
        $response =(object)array(
            "Status" => $e->getResponse()->getStatusCode(),
            "Error" => json_decode($e->getResponse()->getBody(true)->getContents())
        );
        return $response;
    }
protected function statusCodeHandling ( $ e ) { $ response = ( object ) array ( "Status" => $ e -> getResponse ( ) -> getStatusCode ( ) , "Error" => json_decode ( $ e -> getResponse ( ) -> getBody ( true ) -> getContents ( ) ) ) ; return $ response ; }
Return message error
@param $e
@return array
Return message error