Security-Card-Game / seccardgamecli

Apache License 2.0
3 stars 0 forks source link

Refactors Error Handling #1

Closed maschmi closed 10 months ago

maschmi commented 10 months ago

Refactors error handling by introdcuing a CliResult and CliError type. Thus allowing to map low level errros in application errors and handle them all at one place.

Also intrododuces the "count_cards_in_directory" function to make clear this function only counts cards (json files).