DartRestExceptions should be used to pass messages to DartScalatraServlet.handleOutput, which will produce an appropriate
http message. Using these exceptions will remove the need for complex flow control to handle the multitude of cases that
should be handled by a REST action, and will allow you to design your action around successful cases.
DartRestExceptions should be used to pass messages to DartScalatraServlet.handleOutput, which will produce an appropriate http message. Using these exceptions will remove the need for complex flow control to handle the multitude of cases that should be handled by a REST action, and will allow you to design your action around successful cases.