Girl gave me her number but has a boyfriend.

I was at a pub playing darts and flirting with a girl, having a casual conversation. I ask for her number and she enthusiastically gives me it.

The next day I ask her out, she said “It would be lovely to go out, but I have a boyfriend. Thank you for the game of darts.”

Quite confused, what would you say in this situation?