What's the difference between Error and NSError in Swift?
<p>I am creating a library that should return errors so I'm  wondering which one should use for my purposes.</p>

<p><strong>UPDATE:</strong>
I should clarify, the returned result will be from a asynchronous call so I need to inform to the user if there was an error and I would like to know which type I should use Error or NSError.</p>