NSCalculationError should conform to ErrorType

Originator:robnapier
Number:rdar://21444715 Date Originated:18-Jun-2015 02:05 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Swift 2b1
Classification:Enhancement Reproducible:Not Applicable
 
Foundation’s NSCalcuationError should be extended as:

    extension NSCalculationError: ErrorType {}

Consumers can do that themselves, but it seems trivial and worthwhile to add to Foundation.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!