Trap error for missing template argument.