This functionality is now available through turbo:frame-missing event.
turbo:frame-missing
See the 2 comments here at the end: