Use WebApplicationException subclasses for making error responses.