Swift’s error mechanism is documented in the Error Handling section of The Swift Programming Language. I recommend you start by reading through that and then get back to us if you have follow-up questions.

More Like This

Retrieving data ...

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Developer Forums Participation Agreement.