markjamesm / MusicSharp

MusicSharp is a lightweight TUI music player written in C#.
https://markjames.dev/blog/developing-a-cli-music-player-csharp/
GNU General Public License v3.0
57 stars 11 forks source link

Error handling #12

Open marijnz0r opened 4 years ago

marijnz0r commented 4 years ago

Currently, there is little to no error handling present. It is a good idea to present the user the errors the application generates. I think it can be done using the MessageBox class. All the exceptions from the whole application can bubble up to the top layer. Then they can be caught and presented to the user to prevent the application from crashing.