Implement a Web API

You want to create an attribute that executes when an exception happens anywhere in your application. Which steps do you take? (Choose all that apply)

Inherit from ExceptionFilterAttribute.
Add the custom attribute to your controllers.
Inherit from ActionFilterAttribute.
Add the custom attribute to HttpConfiguration.Filters.