Use __func__ in error messages.