Updated error message sample