Function name should not be in the error message