I keep getting into the situation where I'm writing the catch statement of do { ...} catch ... {} block and I don't know what errors might be thrown by the function/method I'm calling. Is there any way to get a list ErrorTypes that may be thrown aside from digging into the code?
I'm using Xcode 7.3 Beta 5
With Swift 2.0, it looks like enums are the preferred way of defining errors. I'm using several non-Apple libraries and some take advantage of this and it'd be nice to have autocomplete list possible error types that could be thrown.