Add a custom error function for expressions in the form `expr +/- const`.
Add a custom error function for expressions in the form
expr +/- const.