# Advanced Swift 3 - Part 14: Error Handling | Ray Wenderlich

**URL:** <https://forums.kodeco.com/t/advanced-swift-3-part-14-error-handling-ray-wenderlich/30085>\
**Category:** 🎓 Courses & Articles\
**Created:** [May 24, 2017, 7:01pm UTC](https://forums.kodeco.com/t/advanced-swift-3-part-14-error-handling-ray-wenderlich/30085 "2017-05-24T19:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayfix](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rayfix/32/108995_2.png) [@rayfix](https://forums.kodeco.com/u/rayfix)\
**Post date:** [May 24, 2017, 7:01pm UTC](https://forums.kodeco.com/t/advanced-swift-3-part-14-error-handling-ray-wenderlich/30085/1 "2017-05-24T19:01:00Z")

</div>

A hallmark of production-ready code is good error handling. Learn about the types of error handling Swift has to offer and when and how to use each.

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/3810-advanced-swift-3/lessons/14](https://www.raywenderlich.com/3810-advanced-swift-3/lessons/14)

---

<div class="post-metadata">

**Author:** ![giguerea](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/giguerea/32/81494_2.png) [@giguerea](https://forums.kodeco.com/u/giguerea)\
**Post date:** [May 24, 2017, 10:32pm UTC](https://forums.kodeco.com/t/advanced-swift-3-part-14-error-handling-ray-wenderlich/30085/2 "2017-05-24T22:32:10Z")

</div>

Nice video Ray, another useful protocol that I used for my Swift Enum Error is LocalizedError, you can add a localized description, failure reason etc…

Alex

---

<div class="post-metadata">

**Author:** ![rayfix](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rayfix/32/108995_2.png) [@rayfix](https://forums.kodeco.com/u/rayfix)\
**Post date:** [May 25, 2017, 6:37am UTC](https://forums.kodeco.com/t/advanced-swift-3-part-14-error-handling-ray-wenderlich/30085/3 "2017-05-25T06:37:37Z")

</div>

That’s a great tip. Thanks!
