Merely because they trying to stay on course and not to overwhelm with information and code not needed for the exercise.Ģ) Again as i described above the SRP is violated because they are not coding for production code.
Now this is a bootcamp the objective of the exercise is not to be production ready code so some validations and things to consider have not reached the code you are looking at. Also if there is any problem on initialization then the exception will be handled by the corresponding actor which will restart or do something related about that.
1) The file observer has a OnError event that will return the events to the actor and let it decide what to do with those errors.