How to Customize Error Message (Active Storage)

I noticed when my blobs expire, and I click a link to an expired blog, or a blob that just not exist anymore, I get this:

ActiveRecord::RecordNotFound (Couldn’t find ActiveStorage::Blob with ‘id’=111):

So the router got a hit to something like: path="/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBkQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19–c6b39d643bd31d00e3d7d44eac4fbb5fb310b739/report.csv"

Which does not exist. If I want to flash up a nice “Sorry! that file no longer exists” message just for this event, how do I go about doing that? Is there a nice tutorial on trapping specific errors like this one? It is not so much a 404 as a “no blob here” moment.

It does not seem like one cannot just rescue from this error in ApplicationController.