title: Display PL/SQL function warnings
body: <p>I have the following function: </p>
  
  <pre><code>CREATE OR REPLACE Function pode_levar( pedidos NUMBER, viagens  NUMBER)
     RETURN NUMBER
  IS
  x NUMBER:=0;
  y NUMBER:=0;
  TRUE NUMBER:=0;
  BEGIN
  
  BEGIN
      Select id_pedido into x
      from pedido
      where id_pedido = pedidos;
      EXCEPTION 
      WHEN NO_DATA FOUND THEN 
      RAISE_APPLICAITON_ERROR(-20305,'PEDIDO TRANSPORTE ENIXISTENTE');
  END;
  
  BEGIN
      select lim_vei_vol - volume_total_viagem(viagens)  into y
      from v viagem , ve veiculo
      where v.id_viagem = ve.id_viagem
      and id_viagem = viagens;
      EXCEPTION
      WHEN NO_DATA_FOUND THEN
      TRUE:=0;
      RAISE_APPLICATION_ERROR(-20304,'Viagem Enixistente');
      RETURN(TRUE);
  END;
  
  BEGIN 
      IF y &lt;&gt; 0 
      TRUE := 1;
      RETURN(TRUE);
      ELSE
      TRUE := 0;
      RETURN(TRUE);
      ENDIF;
  
  END;
  
  END;
  </code></pre>
  
  <p>The function compiles with one warning, how can I see it? <code>show errors</code> does not work</p>
  
  <p>This is for school,</p>