I created a small gist on github.com to show you how to create your own custom errors in swift including localized descriptions. The script is mostly self describing. Feel free to leave a comment if not.
custom localized errors as enum in swift 3.0
This article is my 5th oldest. It is 42 words long