title: PHP: \Exception or Exception inside a namespace
body: <p>I am trying to handle some errors in my api. However I tried some so many ways to execute what it's needed to it done? </p>
  
  <p>In the code i used Exception, \Exception, another class extending to Exception, "use \Exception".
  None of these options works.
  What i need to do execute the block catch?</p>
  
  <pre><code>  //Piece of source in the begin of file
      namespace Business\Notifiers\Webhook;
      use \Exception;
      class MyException extends \Exception {}
  
      //Piece of source from my class
      try{
  
          $products = $payment-&gt;getProducts();
          if(count($products) == 0)
              return;
          $flight_id = $products[0]-&gt;flight_id;
          $this-&gt;message = 'Sir, we have a new request: ';
          $products = null; //Chagind it to null to force an error..
          foreach($products as $product){
  
              $this-&gt;appendAttachment(array(
                  'color' =&gt; '#432789',
                  'text' =&gt; 
                      "*Name:* $product-&gt;name $product-&gt;last_name \n" . 
                      "*Total Paid:*  R\$$product-&gt;price\n",
                  'mrkdwn_in' =&gt; ['text', 'pretext']
              ));
          }
      } catch(Exception $e){
          $this-&gt;message = "A exception occurred ";
      } catch(\Exception $e){
          $this-&gt;message = "A exception occurred e";
      } catch(MyException $e){
          $this-&gt;message = "A exception occurred";
      } 
  </code></pre>