the only way i can think of at the moment, Not being familiar with template toolkit, i can only offer what about passing it through a perl script? I.e.
which could fetch the desired data, and check if it failed and so forth. The only other idea is to run some kind of periodic testing routine that calls a sucession of pages and parses the url to determine if it got the default..