Improved error message on operator()