I am working on exception handling and have written below code for the same.
Web.Config
You can try sending like this
filterContext.HttpContext.Items["Exception"] = Exception.Message;