Your turn!
Following along with the provided code is a great way to learn through practice.
A better way is by challenging yourself to achieve tasks. Hence, I challenge you to improve the Bookmarkr application by adding the following features.
Task #1 – Handling errors for the Import command
If the input file cannot be accessed, or if its content cannot be deserialized, it is likely that the code will throw exceptions. Your mission is to identify what exceptions are likely to be thrown and handle them accordingly.
Task #2 – Logging errors to a file
In the previous task, the goal was to handle the exceptions. However, it might be useful to log the details of these exceptions to a file so we can review them later and use this information to improve the robustness of our application.
Your mission here is to use Serilog to log exception data on a daily rolling interval and store these log files in the logs/errors
folder.
You are also asked to customize...