Is it possible, in Web API 2 to directly return the Exception message in the response's Status ?

For example, if I was writing a WCF Service (rather than Webi API), I could follow [this tutorial](http://www.mikesknowledgebase.com/pages/Services/WebServices-Page2.htm) to directly return an Exception message as part of the response status:

[![enter image description here](https://i.stack.imgur.com/9kXxw.png)](https://i.stack.imgur.com/9kXxw.png)

Here, the web service doesn't return any data in the Response, and the error message gets returned directly in the Status Description.

This is exactly what I'd like my Web API services to do when an exception occurs, but I can't work out how to do it. 

Most suggestions suggest using code like below, but then the error message will then always get returned in a separate response string, rather than being part of the Status.

For example, if I were to use this code:

```
public IHttpActionResult GetAllProducts()
{
    try
    {
        //  Let's get our service to throw an Exception 
        throw new Exception("Something went wrong");

        return Ok(products);
    }
    catch (Exception ex)
    {
        return new System.Web.Http.Results.ResponseMessageResult(
            Request.CreateErrorResponse((HttpStatusCode)500, 
                new HttpError("Something went wrong")));
    }
}

```

... then it returns a generic 500 message, and the exception is returned in a JSON string.

[![enter image description here](https://i.stack.imgur.com/oUyxI.png)](https://i.stack.imgur.com/oUyxI.png)

Does anyone know how to modify a Web API function (which returns an `IHttpActionResult` object) to do this ?