to customize uncaught failures (usually 500s), subclasses override this method.