Back in RC1, I would do this:
[HttpPost] public IActionResult Post([FromBody]string something) { try{ // ... } catch(Exception e)
If you need a body in your response, you can call
return StatusCode(StatusCodes.Status500InternalServerError, responseObject);
This will return a 500 with the response object...