title: Play Framework client server exception handling
body: <p>I am new to play framework. I am using <em><code>Play Framework (2.4)</code></em> with <em><code>scala</code></em>. I need your opinion about exception handling.</p>
  
  <p>Our play client controller is calling play server controller. Now we need to introduce custom exceptions which will be thrown from Server and client will catch that exception and do necessary things. </p>
  
  <p>Now when I throw any exception from server it is not reaching client as it is. The reason I found behind this is, Play catches all exceptions and convert them to <code>500 Internal Server Error</code></p>
  
  <p>So is it possible to send custom exception to client without modifying it?</p>