danbuis / ArmadaAIEngineNew

Revisit of an old project to create an AI for Star Wars Armada
1 stars 0 forks source link

Gracefully fail when a squadron doesn't exist in the factory. #84

Open danbuis opened 2 years ago

danbuis commented 2 years ago

Requirements

Gracefully handle a squadron not being in the factory

Potential Solutions

Maybe a check keys call, and throwing a meaningfully named error.

I like that better than returning a null.

Potential Tasks

What does it take to call this issue complete?