title: What does setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION) do more exactly?
body: <p>As the title says, i tried to understand the concept but it seems like with it or without it the result its the same. I tried to look into php manual and i  kind of understand what says but  in practice its just seems the result is the same. </p>
  
  <p><a href="https://i.stack.imgur.com/eXE4S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eXE4S.png" alt="enter image description here"></a></p>