theoforger / mastermind

An LLM-powered CLI tool to help you be a better spymaster in Codenames
GNU General Public License v3.0
3 stars 2 forks source link

Improve error handling and messages #5

Closed theoforger closed 2 months ago

theoforger commented 2 months ago

This pull request will fix #3. The code will now display the correct error message if any file is not found or is empty. Pattern matching syntax is replaced by map_err() in many places to simplify the code.