Use named variable for overpay error message

issue4246