resolve the compile error when "errorMessage" doesn't exist in the
reject connector