title: Creating an NSError Domain
body: <p>I would like to create a custom error domain for my application. I have an enumerated <code>NSInteger</code> type that covers all possible error codes I can get, my question is how do I associate these with my custom domain? Thanks.</p>