The phrase often conveys a sense of ironic or resigned humor about an unfortunate event. I forgot my umbrella and it started raining, just my luck!
Pro Tip 2/3
Not Literal
It's usually not about actual 'luck', but a way to comment on a frustrating situation. The day I wear white pants is the day I spill coffee. Just my luck!
Pro Tip 3/3
Personal Misfortune
Used when something unfortunate happens that seems typical for that person's experiences. I always catch every cold going around, just my luck.