Currently, whenever an article is not available, we display the 404 Page not found error.
Customera has list of URLs that are permanently removed from the application and wants these URL's to display Error 410 Gone Status instead of 404 Page not Found.
This error signals permanent removal and helps Google to deindex them faster.