improve exception handling
move handling of unprocessable entity to error helper