DmitryGolubenkov / SharpDockerizer

Generates Dockerfiles for your .NET projects without registration or SMS.
MIT License
5 stars 0 forks source link

Feature: Exception handling #4

Open DmitryGolubenkov opened 1 year ago

DmitryGolubenkov commented 1 year ago

Description

For now the application can work if all supplied data is valid. But any incorrect data can cause it to crash. We need to handle the exceptions in certain places and inform user when an error occures.

There is no way to tell GUI that requested action has failed. We can throw exceptions and catch them in GUI layer, or we can use FluentResults to return a Result object from AppLayer to GUI with message.

Also, for now there is no way to show dialogs or toasts in the application (especially from MVVM), so this functionality must be implemented too.