Right now most of our API endpoint methods (these located in XcodeServer extensions) are constructed in non-swifty way - they return optional NSError pointers.
How about gradually changing them to throwing methods?
There are some benefits of doing this:
- Swifty way (most important argument... 😜)
- Reduce amount of
Optionals
- More descriptive errors, as they'll be
enums
I know, I know, I may be overreacting... Maybe that's because I have too much free time? 😝