We have a client that would like to see a branded, non-EE error message if there is a problem with the EE database connection. Their database is hosted on a different server and has, on one or two occasions, lost the connection – causing EE to render a plain error message.
We'd either like to redirect to a static HTML page which contains a nice, branded apology for the site being down, or to edit the source code of the default message. I tried the Custom Messages add-on but it seems that this requires EE and the DB to be functioning correctly in order to work.
Any thoughts on how best to approach this scenario?