Improve exception messages to allow differentiation between the
arguments.