Bronze Challenge: Throwing Errors

Currently, the saveChanges() method returns a Bool to indicate success or failure. It would be better if this method threw an error instead.

Update saveChanges() to be a throwing method. It should have the following method signature:

    func saveChanges() throws
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.140.185.170